Skip to content
Snippets Groups Projects
Commit b375c39f authored by Hanne Moa's avatar Hanne Moa
Browse files

Move method next to its deprecated kin

parent 11cf5e70
No related branches found
No related tags found
No related merge requests found
...@@ -202,17 +202,6 @@ class SimpleSAML_XHTML_Template ...@@ -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, * 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. * 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 ...@@ -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. * Deprecated methods of this interface, all of them should go away.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment