aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/hooks/index.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-04 12:03:05 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-04 12:03:05 +0000
commit07f6a6b5f3092f53304be24e43ad2b92912ae5c3 (patch)
tree77a4f718df92085dd6a0579266c9bc82016c8e58 /phpBB/includes/hooks/index.php
parent92f554e38aaf3c4d280c201d3a6521e519acfb47 (diff)
downloadforums-07f6a6b5f3092f53304be24e43ad2b92912ae5c3.tar
forums-07f6a6b5f3092f53304be24e43ad2b92912ae5c3.tar.gz
forums-07f6a6b5f3092f53304be24e43ad2b92912ae5c3.tar.bz2
forums-07f6a6b5f3092f53304be24e43ad2b92912ae5c3.tar.xz
forums-07f6a6b5f3092f53304be24e43ad2b92912ae5c3.zip
- fixed database updater
- fixed hook function call in database updater - fixed bot agent detection (we used a wildcard within the w3c-agent, therefore we should really support this. ;)) git-svn-id: file:///svn/phpbb/trunk@8131 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/hooks/index.php')
-rw-r--r--phpBB/includes/hooks/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/hooks/index.php b/phpBB/includes/hooks/index.php
index a8ad64478a..aa85e63f32 100644
--- a/phpBB/includes/hooks/index.php
+++ b/phpBB/includes/hooks/index.php
@@ -1,10 +1,10 @@
<?php
-/**
+/**
*
* @package phpBB3
* @version $Id$
-* @copyright (c) 2007 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2007 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
@@ -111,7 +111,7 @@ class phpbb_hook
if (!empty($this->hooks[$class][$function]))
{
- // Developer tries to call a hooked function within the hooked function...
+ // Developer tries to call a hooked function within the hooked function...
if ($this->current_hook !== NULL && $this->current_hook['class'] === $class && $this->current_hook['function'] === $function)
{
return false;