aboutsummaryrefslogtreecommitdiff
path: root/mod/messageboard/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messageboard/start.php')
-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 f97e77999..0cd546573 100644
--- a/mod/messageboard/start.php
+++ b/mod/messageboard/start.php
@@ -85,7 +85,7 @@ function messageboard_add($poster, $owner, $message, $access_id = ACCESS_PUBLIC)
// Register initialisation callback
-register_elgg_event_handler('init', 'system', 'messageboard_init');
+elgg_register_event_handler('init', 'system', 'messageboard_init');
// Register actions
register_action("messageboard/add", FALSE, $CONFIG->pluginspath . "messageboard/actions/add.php");