feature:2271

Add pwg.extensions.checkUpdates method to webservices.
Add a warning message on intro page if update is availble for piwigo or extensions.
Add an "Ignore All" button on extensions update page.

git-svn-id: http://piwigo.org/svn/trunk@10538 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice
2011-04-21 15:12:38 +00:00
parent e1fd6aa04b
commit f5ef4fddd7
6 changed files with 91 additions and 7 deletions
+7
View File
@@ -445,6 +445,13 @@ function ws_addDefaultMethods( $arr )
<br>Parameter type must be "plugins", "languages" or "themes".
<br>If reset parameter is true, all ignored extensions will be reinitilized.'
);
$service->addMethod(
'pwg.extensions.checkUpdates',
'ws_extensions_checkupdates',
array(),
'Check if piwigo or extensions are up to date.'
);
}
add_event_handler('ws_add_methods', 'ws_addDefaultMethods');