From 68d9bce9cb0e98a50da8a67a665d9c537ce012d0 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 15 Dec 2010 20:28:58 +0000 Subject: replacing calls to add_widget_type() with elgg_register_widget_type() (from hellekin) git-svn-id: http://code.elgg.org/elgg/trunk@7635 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messageboard/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/messageboard') diff --git a/mod/messageboard/start.php b/mod/messageboard/start.php index 197504d0e..21b640c83 100644 --- a/mod/messageboard/start.php +++ b/mod/messageboard/start.php @@ -20,7 +20,7 @@ function messageboard_init() { register_page_handler('messageboard', 'messageboard_page_handler'); // add a messageboard widget - only for profile - add_widget_type('messageboard', elgg_echo("messageboard:board"), elgg_echo("messageboard:desc"), "profile"); + elgg_register_widget_type('messageboard', elgg_echo("messageboard:board"), elgg_echo("messageboard:desc"), "profile"); // Register actions $action_path = elgg_get_plugin_path() . 'messageboard/actions'; -- cgit v1.2.3