Skip to content
Snippets Groups Projects
Commit 189c9cab authored by Andreas Gohr's avatar Andreas Gohr
Browse files

purge cache only once on install

this is not a extension specific cache but a global one. no need to
purge for each installed extension
parent da5f0eee
No related branches found
No related tags found
No related merge requests found
......@@ -575,12 +575,8 @@ class helper_plugin_extension_extension extends DokuWiki_Plugin {
try {
$installed = $this->installArchive("$tmp/upload.archive", true, $basename);
// purge caches
foreach($installed as $ext => $info){
$this->setExtension($ext);
$this->purgeCache();
}
// purge cache
$this->purgeCache();
}catch (Exception $e){
throw $e;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment