diff options
author | mistic100 <mistic@piwigo.org> | 2014-09-24 17:30:08 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-09-24 17:30:08 +0000 |
commit | 17a72f2bb20ab7e84829d217345867a0b4fa6687 (patch) | |
tree | 8c571455eb5b45bf5c4eaca7d0ba7b42dcbe6391 /include/ws_functions/pwg.extensions.php | |
parent | d74b80bbb7401874ea73f93bf557dc80153fbdb6 (diff) |
fix plugins autoupdate: call ##_maintain::update when updating from back-office
git-svn-id: http://piwigo.org/svn/trunk@29773 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/ws_functions/pwg.extensions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions/pwg.extensions.php b/include/ws_functions/pwg.extensions.php index 8a308ff3d..ae0928b2c 100644 --- a/include/ws_functions/pwg.extensions.php +++ b/include/ws_functions/pwg.extensions.php @@ -188,7 +188,7 @@ function ws_extensions_update($params, $service) ); } - $upgrade_status = $extension->extract_plugin_files('upgrade', $revision, $extension_id); + $upgrade_status = $extension->perform_action('update', $extension_id, array('revision'=>$revision)); $extension_name = $extension->fs_plugins[$extension_id]['name']; if (isset($params['reactivate'])) |