aboutsummaryrefslogtreecommitdiff
path: root/mod/members
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/members
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/members')
-rw-r--r--mod/members/index.php2
-rw-r--r--mod/members/start.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/members/index.php b/mod/members/index.php
index 221df7685..5a461d5e8 100644
--- a/mod/members/index.php
+++ b/mod/members/index.php
@@ -61,7 +61,7 @@ switch($filter){
$options['type'] = "user";
$options['offset'] = $offset;
$options['limit'] = $limit;
- $results = trigger_plugin_hook('search', 'tags', $options, array());
+ $results = elgg_trigger_plugin_hook('search', 'tags', $options, array());
$count = $results['count'];
$users = $results['entities'];
$filter_content = elgg_view_entity_list($users, $count, $offset, $limit, false, false, true);
diff --git a/mod/members/start.php b/mod/members/start.php
index 395922219..53f4f3753 100644
--- a/mod/members/start.php
+++ b/mod/members/start.php
@@ -11,5 +11,5 @@ function members_init() {
}
// @todo - use page handler for members index
-register_elgg_event_handler('pagesetup','system','members_pagesetup');
-register_elgg_event_handler('init','system','members_init'); \ No newline at end of file
+elgg_register_event_handler('pagesetup','system','members_pagesetup');
+elgg_register_event_handler('init','system','members_init'); \ No newline at end of file