aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/start.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-10 22:22:40 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-10 22:22:40 +0000
commitc8f6c3c934df01bf969e3d91ae67f0887de10da9 (patch)
treed21179fda1e19d540eb3ea56b31584f86fc1e338 /mod/thewire/start.php
parenta7801c71ecc6ce0f0d2a8fc82cdc779da9417aa4 (diff)
downloadelgg-c8f6c3c934df01bf969e3d91ae67f0887de10da9.tar.gz
elgg-c8f6c3c934df01bf969e3d91ae67f0887de10da9.tar.bz2
Fixes #2367: With fear and trepidation, converting events/plugin hooks to use elgg_ prefixed versions
git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire/start.php')
-rw-r--r--mod/thewire/start.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index ca13acc9c..31bad5809 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -44,14 +44,14 @@
register_entity_type('object','thewire');
// Listen for SMS create event
- register_elgg_event_handler('create','object','thewire_incoming_sms');
+ elgg_register_event_handler('create','object','thewire_incoming_sms');
// Register granular notification for this type
if (is_callable('register_notification_object'))
register_notification_object('object', 'thewire', elgg_echo('thewire:newpost'));
// Listen to notification events and supply a more useful message for SMS'
- register_plugin_hook('notify:entity:message', 'object', 'thewire_notify_message');
+ elgg_register_plugin_hook_handler('notify:entity:message', 'object', 'thewire_notify_message');
}
function thewire_pagesetup() {
@@ -194,8 +194,8 @@
}
// Make sure the thewire initialisation function is called on initialisation
- register_elgg_event_handler('init','system','thewire_init');
- register_elgg_event_handler('pagesetup','system','thewire_pagesetup');
+ elgg_register_event_handler('init','system','thewire_init');
+ elgg_register_event_handler('pagesetup','system','thewire_pagesetup');
// Register actions
global $CONFIG;