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:
parent
a1e51fdc29
commit
eb9f4c2aa6
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue