diff options
author | rub <rub@piwigo.org> | 2010-12-23 02:38:05 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2010-12-23 02:38:05 +0000 |
commit | eb9f4c2aa6485c9401bf3fce6c638d29ae84c531 (patch) | |
tree | 3a67a9f3f82d91af153f1ddde4b768a9fd18221b /admin | |
parent | a1e51fdc29da8727dfe515826eb0bccfae767cb0 (diff) |
merge -c8245 from trunk to branch 2.1
Add delete_compiled_templates on plugin update version.
git-svn-id: http://piwigo.org/svn/branches/2.1@8246 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r-- | admin/plugins_update.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/plugins_update.php b/admin/plugins_update.php index 332c97cb4..4d402e8d5 100644 --- a/admin/plugins_update.php +++ b/admin/plugins_update.php @@ -66,6 +66,9 @@ if (isset($_GET['plugin']) and isset($_GET['revision']) and !is_adviser()) { $plugins->perform_action('activate', $plugin_id); } + + $template->delete_compiled_templates(); + redirect($base_url.'&plugin='.$plugin_id.'&upgradestatus='.$upgrade_status); } } |