From 5cffdcfd09755c795cb57ed2ea2a6cf04e8bc79b Mon Sep 17 00:00:00 2001 From: Hanne Moa <hanne.moa@uninett.no> Date: Thu, 14 Jan 2016 11:02:18 +0100 Subject: [PATCH] Only used one place, for a translation-less string Candidate for removal/rewrite --- lib/SimpleSAML/XHTML/Template.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index dd21f236e..6b18dd24f 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -72,6 +72,14 @@ class SimpleSAML_XHTML_Template { } + /** + * Wraps Language->getLanguageList + */ + public function includeInlineTranslation($tag, $translation) { + return $this->translator->includeInlineTranslation($tag, $translation); + } + + /** * Show the template to the user. */ -- GitLab