diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index 31db07293a9c3473e2fa665f7cb2a5343da1da20..bdb444819914ee1877e2e67763553d4ab5cee779 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. */