1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/13070] Use old 'template' class for template class hook
This commit is contained in:
Andreas Fischer
2014-09-23 23:25:59 +02:00

View File

@@ -142,11 +142,11 @@ abstract class base implements template
{
global $phpbb_hook;
if (!empty($phpbb_hook) && $phpbb_hook->call_hook(array(__CLASS__, $method), $handle, $this))
if (!empty($phpbb_hook) && $phpbb_hook->call_hook(array('template', $method), $handle, $this))
{
if ($phpbb_hook->hook_return(array(__CLASS__, $method)))
if ($phpbb_hook->hook_return(array('template', $method)))
{
$result = $phpbb_hook->hook_return_result(array(__CLASS__, $method));
$result = $phpbb_hook->hook_return_result(array('template', $method));
return array($result);
}
}