aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-09-23 14:14:49 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-09-23 14:14:49 +0000
commit8d2bfa5c102a19c076e14dc975a45b972a17f712 (patch)
tree4352c90383a89786de22c460bd6b8900d40ec3c6 /phpBB/includes/template.php
parentcd4aa46b9363075cd1c0bb493d655fb8ef19714d (diff)
downloadforums-8d2bfa5c102a19c076e14dc975a45b972a17f712.tar
forums-8d2bfa5c102a19c076e14dc975a45b972a17f712.tar.gz
forums-8d2bfa5c102a19c076e14dc975a45b972a17f712.tar.bz2
forums-8d2bfa5c102a19c076e14dc975a45b972a17f712.tar.xz
forums-8d2bfa5c102a19c076e14dc975a45b972a17f712.zip
ok... i seem to have overlooked the handy __CLASS__ constant. ;)
git-svn-id: file:///svn/phpbb/trunk@8106 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r--phpBB/includes/template.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index 10411b268e..4c126b8a91 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -149,11 +149,11 @@ class template
{
global $user, $phpbb_hook;
- if ($phpbb_hook->call_hook(array(get_class($this), __FUNCTION__), $handle, $include_once))
+ if ($phpbb_hook->call_hook(array(__CLASS__, __FUNCTION__), $handle, $include_once))
{
- if ($phpbb_hook->hook_return(array(get_class($this), __FUNCTION__)))
+ if ($phpbb_hook->hook_return(array(__CLASS__, __FUNCTION__)))
{
- return $phpbb_hook->hook_return_result(array(get_class($this), __FUNCTION__));
+ return $phpbb_hook->hook_return_result(array(__CLASS__, __FUNCTION__));
}
}