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
This commit is contained in:
parent
da5f0eee25
commit
189c9cabe2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue