From 0f0b8e0430fd4bb6f7df76d2d7a1b54e99b744d3 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Thu, 25 Sep 2014 09:25:24 +0000 Subject: final fix for plugins update ? - plugins.version is not updated in "activate" action - plugins.version is updated in "update" action and "load_plugin()" function (not only for plugins using maintain.class.php) cases covered: - autoupdate while active or inactive - FTP update while active or inactive git-svn-id: http://piwigo.org/svn/trunk@29779 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions/pwg.extensions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ws_functions') diff --git a/include/ws_functions/pwg.extensions.php b/include/ws_functions/pwg.extensions.php index ae0928b2c..6ed2803bc 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->perform_action('update', $extension_id, array('revision'=>$revision)); + list($upgrade_status) = $extension->perform_action('update', $extension_id, array('revision'=>$revision)); $extension_name = $extension->fs_plugins[$extension_id]['name']; if (isset($params['reactivate'])) -- cgit v1.2.3