mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10933] Delete template_path from template class.
template_path is now only present in style resource locator. PHPBB3-10933
This commit is contained in:
@@ -74,12 +74,6 @@ class phpbb_template
|
|||||||
*/
|
*/
|
||||||
private $locator;
|
private $locator;
|
||||||
|
|
||||||
/**
|
|
||||||
* Location of templates directory within style directories
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
public $template_path = 'template/';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
@@ -95,7 +89,6 @@ class phpbb_template
|
|||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->user = $user;
|
$this->user = $user;
|
||||||
$this->locator = $locator;
|
$this->locator = $locator;
|
||||||
$this->template_path = $this->locator->template_path;
|
|
||||||
$this->context = $context;
|
$this->context = $context;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user