diff options
author | patdenice <patdenice@piwigo.org> | 2011-04-21 15:12:38 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2011-04-21 15:12:38 +0000 |
commit | f5ef4fddd7ce277f27ef4face7933fe5a7406200 (patch) | |
tree | 128762355458b207214d41431c3bd9cabbfc6761 /ws.php | |
parent | e1fd6aa04b301bb52a9ffa6423ba1885a3e21ddc (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | ws.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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'); |