diff options
-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); } } |