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

[ticket/16204] Remove hooks system

PHPBB3-16204
This commit is contained in:
Marc Alexander
2019-11-07 20:21:50 +01:00
parent e1dce434db
commit d66960f4d5
6 changed files with 21 additions and 324 deletions

View File

@@ -308,12 +308,6 @@ class twig extends \phpbb\template\base
*/
public function display($handle)
{
$result = $this->call_hook($handle, __FUNCTION__);
if ($result !== false)
{
return $result[0];
}
$this->twig->display($this->get_filename_from_handle($handle), $this->get_template_vars());
return $this;