aboutsummaryrefslogtreecommitdiff
path: root/mod/messageboard
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messageboard')
-rw-r--r--mod/messageboard/start.php2
1 files changed, 1 insertions, 1 deletions
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';