summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper/extension.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-05-13 18:39:04 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-05-13 19:43:18 +0200
commitc0d17c851c1bf4371e550a105c91a17644de6b29 (patch)
treea6b378ae980c94146c1e8b233716c0c6314b41e6 /lib/plugins/extension/helper/extension.php
parent58dcf41dfe1c8c460dbea8edb3bc91548f4af819 (diff)
downloadrpg-c0d17c851c1bf4371e550a105c91a17644de6b29.tar.gz
rpg-c0d17c851c1bf4371e550a105c91a17644de6b29.tar.bz2
removed another case of superflous multiple cache invalidation
Diffstat (limited to 'lib/plugins/extension/helper/extension.php')
-rw-r--r--lib/plugins/extension/helper/extension.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/plugins/extension/helper/extension.php b/lib/plugins/extension/helper/extension.php
index 43e4452c0..a4736a850 100644
--- a/lib/plugins/extension/helper/extension.php
+++ b/lib/plugins/extension/helper/extension.php
@@ -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;
}