1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-22 08:13:14 +02:00

Merge pull request #5731 from marc1706/ticket/16204

[ticket/16204] Remove hooks system
This commit is contained in:
Marc Alexander
2020-01-06 22:03:23 +01:00
committed by GitHub
9 changed files with 21 additions and 433 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;