aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-21 00:50:10 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-21 00:50:10 +0000
commitc100c017b6c9aeb6faf5b901fe0e128035e9b1e0 (patch)
treec93213c9b48b93543ec6d3f9a8e4f25f352537eb /engine
parent9580b89a54b1c27365febc6e555898d0f46c7b95 (diff)
downloadelgg-c100c017b6c9aeb6faf5b901fe0e128035e9b1e0.tar.gz
elgg-c100c017b6c9aeb6faf5b901fe0e128035e9b1e0.tar.bz2
fix for previous
git-svn-id: http://code.elgg.org/elgg/trunk@7395 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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);
}
/**