diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-24 12:05:04 -0500 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-24 12:05:04 -0500 |
| commit | 44a82dd0837a4693b6a4a410c21c438f244094d3 (patch) | |
| tree | fa2dbb7074decb995238f336c165a6162e85e81d /phpBB/phpbb/style/style.php | |
| parent | 98b385bc1c14a3155dd429f8d9118f4d7eb95556 (diff) | |
| download | forums-44a82dd0837a4693b6a4a410c21c438f244094d3.tar forums-44a82dd0837a4693b6a4a410c21c438f244094d3.tar.gz forums-44a82dd0837a4693b6a4a410c21c438f244094d3.tar.bz2 forums-44a82dd0837a4693b6a4a410c21c438f244094d3.tar.xz forums-44a82dd0837a4693b6a4a410c21c438f244094d3.zip | |
[ticket/11628] Remove style path provider
No longer used since Twig was implemented.
PHPBB3-11628
Diffstat (limited to 'phpBB/phpbb/style/style.php')
| -rw-r--r-- | phpBB/phpbb/style/style.php | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/phpBB/phpbb/style/style.php b/phpBB/phpbb/style/style.php index 9756fb74ac..283e3015ca 100644 --- a/phpBB/phpbb/style/style.php +++ b/phpBB/phpbb/style/style.php @@ -53,26 +53,18 @@ class phpbb_style private $user; /** - * Style path provider - * @var phpbb_style_path_provider - */ - private $provider; - - /** * Constructor. * * @param string $phpbb_root_path phpBB root path * @param user $user current user - * @param phpbb_style_path_provider $provider style path provider * @param phpbb_template $template template */ - public function __construct($phpbb_root_path, $php_ext, $config, $user, phpbb_style_path_provider_interface $provider, phpbb_template $template) + public function __construct($phpbb_root_path, $php_ext, $config, $user, phpbb_template $template) { $this->phpbb_root_path = $phpbb_root_path; $this->php_ext = $php_ext; $this->config = $config; $this->user = $user; - $this->provider = $provider; $this->template = $template; } @@ -121,8 +113,6 @@ class phpbb_style } } - $this->provider->set_styles($paths); - $new_paths = array(); foreach ($paths as $path) { @@ -158,8 +148,6 @@ class phpbb_style } $this->names = $names; - $this->provider->set_styles($paths); - $new_paths = array(); foreach ($paths as $path) { @@ -184,15 +172,4 @@ class phpbb_style { return $this->phpbb_root_path . trim($style_base_directory, '/') . '/' . $path; } - - /** - * Defines a prefix to use for style paths in extensions - * - * @param string $ext_dir_prefix The prefix including trailing slash - * @return null - */ - public function set_ext_dir_prefix($ext_dir_prefix) - { - $this->provider->set_ext_dir_prefix($ext_dir_prefix); - } } |
