Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lfeditor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
lfeditor
Commits
2f64d04e
Commit
2f64d04e
authored
7 years ago
by
Torsten Oppermann
Browse files
Options
Downloads
Patches
Plain Diff
Revert "[TASK] removed deprecated call to compat_version"
This reverts commit
3ba6e51f
.
parent
3ba6e51f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!17
Feature deprecation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Classes/Service/ConfigurationService.php
+11
-5
11 additions, 5 deletions
Classes/Service/ConfigurationService.php
with
11 additions
and
5 deletions
Classes/Service/ConfigurationService.php
+
11
−
5
View file @
2f64d04e
...
...
@@ -127,11 +127,17 @@ class ConfigurationService extends AbstractService {
unset
(
$this
->
extConfig
[
'viewLanguages'
]);
$availableLanguageKeys
=
[];
$languages
=
explode
(
'|'
,
TYPO3_languages
);
foreach
(
$languages
as
$language
)
{
$availableLanguageKeys
[
$language
]
=
TRUE
;
if
(
GeneralUtility
::
compat_version
(
'6.0'
))
{
/** @var Locales $locales */
$locales
=
GeneralUtility
::
makeInstance
(
'TYPO3\CMS\Core\Localization\Locales'
);
$availableLanguageKeys
=
$locales
->
getLanguages
();
}
else
{
$languages
=
explode
(
'|'
,
TYPO3_languages
);
foreach
(
$languages
as
$language
)
{
$availableLanguageKeys
[
$language
]
=
TRUE
;
}
}
foreach
(
$langs
as
$lang
)
{
...
...
This diff is collapsed.
Click to expand it.
Torsten Oppermann
@Oppermann
mentioned in commit
29813217
·
7 years ago
mentioned in commit
29813217
mentioned in commit 2981321744ec8e5c62ed3f9ea901e9698cede2e8
Toggle commit list
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