diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-01 21:11:24 -0500 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-01 21:11:24 -0500 |
| commit | 1c7e077fea245448315068bc724d852d2c9b087e (patch) | |
| tree | d73fa1ea5d6ad2943f4fae8f4f439cb1406f6a01 /phpBB | |
| parent | 46d6899b466ce57e605ee6cf708204a1dd92004f (diff) | |
| download | forums-1c7e077fea245448315068bc724d852d2c9b087e.tar forums-1c7e077fea245448315068bc724d852d2c9b087e.tar.gz forums-1c7e077fea245448315068bc724d852d2c9b087e.tar.bz2 forums-1c7e077fea245448315068bc724d852d2c9b087e.tar.xz forums-1c7e077fea245448315068bc724d852d2c9b087e.zip | |
[feature/twig] Remove get_lang function (it's not used anywhere)
PHPBB3-11598
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/includes/template/twig/twig.php | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/phpBB/includes/template/twig/twig.php b/phpBB/includes/template/twig/twig.php index 89f6189f41..496c0b21a8 100644 --- a/phpBB/includes/template/twig/twig.php +++ b/phpBB/includes/template/twig/twig.php @@ -178,7 +178,7 @@ class phpbb_template_twig implements phpbb_template * @param array $style_names List of style names in inheritance tree order * @return phpbb_template $this */ - public function set_style_names(array $style_names, $style_paths = array()) + public function set_style_names(array $style_names, array $style_paths = array()) { $this->style_names = $style_names; @@ -293,26 +293,6 @@ class phpbb_template_twig implements phpbb_template } /** - * Obtains language array. - * This is either lang property of $user property, or if - * it is not set an empty array. - * @return array language entries - */ - public function get_lang() - { - if (isset($this->user->lang)) - { - $lang = $this->user->lang; - } - else - { - $lang = array(); - } - - return $lang; - } - - /** * Display the handle and assign the output to a template variable * or return the compiled result. * |
