Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
2a90839a
Unverified
Commit
2a90839a
authored
4 years ago
by
Tim van Dijen
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused private method
parent
ec74faa4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Locale/Translate.php
+0
-19
0 additions, 19 deletions
lib/SimpleSAML/Locale/Translate.php
with
0 additions
and
19 deletions
lib/SimpleSAML/Locale/Translate.php
+
0
−
19
View file @
2a90839a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment