1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

ok... i seem to have overlooked the handy __CLASS__ constant. ;)

git-svn-id: file:///svn/phpbb/trunk@8106 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-09-23 14:14:49 +00:00
parent cd4aa46b93
commit 8d2bfa5c10
3 changed files with 20 additions and 20 deletions

View File

@@ -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__));
}
}