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