aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/widgets.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/widgets.php')
-rw-r--r--engine/lib/widgets.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/widgets.php b/engine/lib/widgets.php
index b4d93001a..402a1fb85 100644
--- a/engine/lib/widgets.php
+++ b/engine/lib/widgets.php
@@ -435,7 +435,7 @@ function add_widget_type($handler, $name, $description, $context = "all",
$multiple = false, $positions = "side,main") {
elgg_deprecated_notice("add_widget_type deprecated for elgg_register_widget_type", 1.8);
- return elgg_add_widget_type($handler, $name, $description, $context, $multiple);
+ return elgg_register_widget_type($handler, $name, $description, $context, $multiple);
}
/**
@@ -449,7 +449,7 @@ $multiple = false, $positions = "side,main") {
*/
function remove_widget_type($handler) {
elgg_deprecated_notice("remove_widget_type deprecated for elgg_unregister_widget_type", 1.8);
- return elgg_remove_widget_type($handler);
+ return elgg_unregister_widget_type($handler);
}
/**