removed another case of superflous multiple cache invalidation

This commit is contained in:
Andreas Gohr 2014-05-13 18:39:04 +02:00
parent 58dcf41dfe
commit c0d17c851c
1 changed files with 2 additions and 5 deletions

View File

@ -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;
}