removed another case of superflous multiple cache invalidation
This commit is contained in:
parent
58dcf41dfe
commit
c0d17c851c
|
@ -597,11 +597,8 @@ class helper_plugin_extension_extension extends DokuWiki_Plugin {
|
|||
$path = $this->download($url);
|
||||
$installed = $this->installArchive($path, true);
|
||||
|
||||
// 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