From c8f6c3c934df01bf969e3d91ae67f0887de10da9 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 10 Nov 2010 22:22:40 +0000 Subject: 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 --- documentation/examples/hooks/trigger/advanced.php | 2 +- documentation/examples/hooks/trigger/basic.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'documentation/examples/hooks/trigger') 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 @@