aboutsummaryrefslogtreecommitdiffstats
path: root/admin/plugins_installed.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-05-11 08:26:41 +0000
committerrvelices <rv-github@modusoptimus.com>2014-05-11 08:26:41 +0000
commitf1f7e5d4ad0d6bb5cbf170063ec7aec2abb3761d (patch)
tree0e83ddba02373679c530f20bf3f7bc2f86fe2bf5 /admin/plugins_installed.php
parentb4decbe52f0bb8213c0320e24ff292cd02e5657f (diff)
added a persistent cache mechanism; used so far to cache image ids in flat view mode
git-svn-id: http://piwigo.org/svn/trunk@28432 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/plugins_installed.php')
-rw-r--r--admin/plugins_installed.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/plugins_installed.php b/admin/plugins_installed.php
index d23e51ca4..a804e21ce 100644
--- a/admin/plugins_installed.php
+++ b/admin/plugins_installed.php
@@ -77,6 +77,7 @@ if (isset($_GET['action']) and isset($_GET['plugin']))
if ($_GET['action'] == 'activate' or $_GET['action'] == 'deactivate')
{
$template->delete_compiled_templates();
+ $persistent_cache->purge(true);
}
redirect($base_url);
}