From b375c39f00932ea53601ef5d212539b03551535e Mon Sep 17 00:00:00 2001 From: Hanne Moa <hanne.moa@uninett.no> Date: Tue, 1 Mar 2016 12:58:29 +0100 Subject: [PATCH] Move method next to its deprecated kin --- lib/SimpleSAML/XHTML/Template.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index 31db07293..bdb444819 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -202,17 +202,6 @@ class SimpleSAML_XHTML_Template } - /** - * Return the internal translator object used by this template. - * - * @return \SimpleSAML\Locale\Translate The translator that will be used with this template. - */ - public function getTranslator() - { - return $this->translator; - } - - /** * Generate an array for its use in the language bar, indexed by the ISO 639-2 codes of the languages available, * containing their localized names and the URL that should be used in order to change to that language. @@ -386,6 +375,17 @@ class SimpleSAML_XHTML_Template } + /** + * Return the internal translator object used by this template. + * + * @return \SimpleSAML\Locale\Translate The translator that will be used with this template. + */ + public function getTranslator() + { + return $this->translator; + } + + /* * Deprecated methods of this interface, all of them should go away. */ -- GitLab