diff options
Diffstat (limited to 'documentation/examples/hooks/basic.php')
-rw-r--r-- | documentation/examples/hooks/basic.php | 2 |
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) { |