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:
@@ -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__));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user