mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user