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
This commit is contained in:
rub 2010-12-23 02:38:05 +00:00
parent a1e51fdc29
commit eb9f4c2aa6

View file

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