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/basic.php | 6 +++--- documentation/examples/hooks/register/advanced.php | 8 ++++---- documentation/examples/hooks/register/all.php | 2 +- documentation/examples/hooks/register/basic.php | 2 +- documentation/examples/hooks/register/emit.php | 4 ++-- documentation/examples/hooks/trigger/advanced.php | 2 +- documentation/examples/hooks/trigger/basic.php | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) (limited to 'documentation/examples/hooks') diff --git a/documentation/examples/hooks/basic.php b/documentation/examples/hooks/basic.php index d9055a4aa..71076ee96 100644 --- a/documentation/examples/hooks/basic.php +++ b/documentation/examples/hooks/basic.php @@ -1,10 +1,10 @@ 'Joe'); -$items = trigger_plugin_hook('get_items', 'example', $params, $default); +$items = elgg_trigger_plugin_hook('get_items', 'example', $params, $default); var_dump($items); diff --git a/documentation/examples/hooks/register/advanced.php b/documentation/examples/hooks/register/advanced.php index 627bb5454..e3951c19c 100644 --- a/documentation/examples/hooks/register/advanced.php +++ b/documentation/examples/hooks/register/advanced.php @@ -1,20 +1,20 @@