diff options
author | rub <rub@piwigo.org> | 2010-12-23 02:34:14 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2010-12-23 02:34:14 +0000 |
commit | 2a49b76ae10cb7bcef5145f3a96151e0d62848a9 (patch) | |
tree | d5f20849c49ceeddae7460bd0d6f35a9a9921db7 /admin | |
parent | 088801add4b05f0fa4ac703fcf6cb15231acc19e (diff) |
Add delete_compiled_templates on plugin update version.
git-svn-id: http://piwigo.org/svn/trunk@8245 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 f3e0386ff..1dabed698 100644 --- a/admin/plugins_update.php +++ b/admin/plugins_update.php @@ -66,6 +66,9 @@ if (isset($_GET['plugin']) and isset($_GET['revision'])) { $plugins->perform_action('activate', $plugin_id); } + + $template->delete_compiled_templates(); + redirect($base_url.'&plugin='.$plugin_id.'&upgradestatus='.$upgrade_status); } } |