aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/hooks/basic.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 23:56:08 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 23:56:08 +0000
commit6e51bcd2d33417f529da15baa5a413ebfc0ca993 (patch)
tree0d9e2f1f77093eeb4295ba84340fcc94e66606d5 /documentation/examples/hooks/basic.php
parente4224c70c270a7ebf16e006a8324d6a944de6fbc (diff)
downloadelgg-6e51bcd2d33417f529da15baa5a413ebfc0ca993.tar.gz
elgg-6e51bcd2d33417f529da15baa5a413ebfc0ca993.tar.bz2
Fixed several typos in documentation examples
git-svn-id: http://code.elgg.org/elgg/trunk@7209 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'documentation/examples/hooks/basic.php')
-rw-r--r--documentation/examples/hooks/basic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/examples/hooks/basic.php b/documentation/examples/hooks/basic.php
index fe0b847a2..d9055a4aa 100644
--- a/documentation/examples/hooks/basic.php
+++ b/documentation/examples/hooks/basic.php
@@ -17,7 +17,7 @@ function example_plugin_hook($hook, $type, $value, $params) {
return $value;
}
-function example_plugin_hook($hook, $type, $value, $params) {
+function example_plugin_hook_2($hook, $type, $value, $params) {
$username = isset($params['username']) ? $params['username'] : NULL;
if (is_array($value)) {
switch($username) {