From c100c017b6c9aeb6faf5b901fe0e128035e9b1e0 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 21 Nov 2010 00:50:10 +0000 Subject: fix for previous git-svn-id: http://code.elgg.org/elgg/trunk@7395 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/widgets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib') 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); } /** -- cgit v1.2.3