mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge pull request #2982 from marc1706/ticket/13070
[ticket/13070] Use old 'template' class for template class hook * marc1706/ticket/13070: [ticket/13070] Use old 'template' class for template class hook
This commit is contained in:
commit
34aad4046f
1 changed files with 3 additions and 3 deletions
|
@ -142,11 +142,11 @@ abstract class base implements template
|
||||||
{
|
{
|
||||||
global $phpbb_hook;
|
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);
|
return array($result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue