aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ws.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index 046ee4743..46429b021 100644
--- a/ws.php
+++ b/ws.php
@@ -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');