From 2a90839a9c1e5738bdf0dcb21b01483771884c9b Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tim.dijen@minbzk.nl>
Date: Tue, 25 Aug 2020 21:28:18 +0200
Subject: [PATCH] Remove unused private method
---
lib/SimpleSAML/Locale/Translate.php | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/lib/SimpleSAML/Locale/Translate.php b/lib/SimpleSAML/Locale/Translate.php
index 107020d0a..8b5bb09bd 100644
--- a/lib/SimpleSAML/Locale/Translate.php
+++ b/lib/SimpleSAML/Locale/Translate.php
@@ -230,25 +230,6 @@ class Translate
}
- /**
- * Return the string that should be used when no translation was found.
- *
- * @param string $tag A name tag of the string that should be returned.
- * @param boolean $fallbacktag If set to true and string was not found in any languages, return the tag itself. If
- * false return null.
- *
- * @return string The string that should be used, or the tag name if $fallbacktag is set to false.
- */
- private function getStringNotTranslated(string $tag, bool $fallbacktag): string
- {
- if ($fallbacktag) {
- return 'not translated (' . $tag . ')';
- } else {
- return $tag;
- }
- }
-
-
/**
* Include a translation inline instead of putting translations in dictionaries. This function is recommended to be
* used ONLY for variable data, or when the translation is already provided by an external source, as a database
--
GitLab