mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/template-engine] Delete useless code from set_template.
set_custom_template performs these calls, repeating them in set_template is not needed. PHPBB3-9726
This commit is contained in:
@@ -105,13 +105,7 @@ class phpbb_template
|
|||||||
$fallback_template_path = null;
|
$fallback_template_path = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->locator->set_custom_template($template_root, $fallback_template_path);
|
return $this->locator->set_custom_template($template_root, $fallback_template_path);
|
||||||
|
|
||||||
$this->cachepath = $this->phpbb_root_path . 'cache/tpl_' . str_replace('_', '-', $style_name) . '_';
|
|
||||||
|
|
||||||
$this->context = new phpbb_template_context();
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user