Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
9c1bc6a7
Commit
9c1bc6a7
authored
Oct 04, 2018
by
Thomas Löffler
Browse files
Add flushing caches after successful extension import
parent
3d15b8fb
Pipeline
#5306
passed with stages
in 6 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/ter_fe2/Classes/Task/ImportExtensionsFromQueueTask.php
View file @
9c1bc6a7
...
...
@@ -88,6 +88,11 @@ class ImportExtensionsFromQueueTask extends Task
$this
->
removeExtensionFromQueue
(
$ext
[
'extensionuid'
]);
}
if
(
count
(
$extensionsFromQueue
)
>
0
)
{
$cacheManager
=
GeneralUtility
::
makeInstance
(
\
TYPO3\CMS\Core\Cache\CacheManager
::
class
);
$cacheManager
->
flushCaches
();
}
$this
->
logger
->
info
(
'Task ImportExtensionsFromQueueTask finished'
);
return
true
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment