diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-10 22:22:40 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-10 22:22:40 +0000 |
commit | c8f6c3c934df01bf969e3d91ae67f0887de10da9 (patch) | |
tree | d21179fda1e19d540eb3ea56b31584f86fc1e338 /documentation/examples/hooks/trigger | |
parent | a7801c71ecc6ce0f0d2a8fc82cdc779da9417aa4 (diff) | |
download | elgg-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 'documentation/examples/hooks/trigger')
-rw-r--r-- | documentation/examples/hooks/trigger/advanced.php | 2 | ||||
-rw-r--r-- | documentation/examples/hooks/trigger/basic.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/documentation/examples/hooks/trigger/advanced.php b/documentation/examples/hooks/trigger/advanced.php index de33e7a10..5901a06e0 100644 --- a/documentation/examples/hooks/trigger/advanced.php +++ b/documentation/examples/hooks/trigger/advanced.php @@ -2,7 +2,7 @@ $default = array('Entry 1', 'Entry 2', 'Entry 3'); -$menu = trigger_plugin_hook('get_menu_items', 'menu', null, $default); +$menu = elgg_trigger_plugin_hook('get_menu_items', 'menu', null, $default); foreach ($menu as $item) { var_dump($item); diff --git a/documentation/examples/hooks/trigger/basic.php b/documentation/examples/hooks/trigger/basic.php index a32bf9296..ea27a8a98 100644 --- a/documentation/examples/hooks/trigger/basic.php +++ b/documentation/examples/hooks/trigger/basic.php @@ -1,6 +1,6 @@ <?php -$result = trigger_plugin_hook('get_status', 'example', null, true); +$result = elgg_trigger_plugin_hook('get_status', 'example', null, true); if ($result) { var_dump('Plugin hook says ok!'); |