Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lfeditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TYPO3
lfeditor
Commits
b0ad83e6
Commit
b0ad83e6
authored
Mar 16, 2015
by
damjan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FEATURE] Clearing language cache after writing language file
parent
1f0e0a30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Classes/Service/ConfigurationService.php
Classes/Service/ConfigurationService.php
+5
-0
No files found.
Classes/Service/ConfigurationService.php
View file @
b0ad83e6
...
...
@@ -32,6 +32,7 @@ use SGalinski\Lfeditor\Utility\Functions;
use
SGalinski\Lfeditor\Utility\SgLib
;
use
SGalinski\Lfeditor\Utility\Typo3Lib
;
use
TYPO3\CMS\Core\Authentication\BackendUserAuthentication
;
use
TYPO3\CMS\Core\Cache\CacheManager
;
use
TYPO3\CMS\Core\Localization\Locales
;
use
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
;
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
...
...
@@ -447,6 +448,10 @@ class ConfigurationService extends AbstractService {
}
catch
(
Exception
$e
)
{
throw
new
LFException
(
'failure.langfile.notDeleted'
,
0
,
'('
.
$e
->
getMessage
()
.
')'
);
}
/** @var CacheManager $cacheManager */
$cacheManager
=
$this
->
objectManager
->
get
(
'TYPO3\CMS\Core\Cache\CacheManager'
);
$cacheManager
->
getCache
(
'l10n'
)
->
flush
();
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment