aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-04-03 15:59:35 +0000
committermistic100 <mistic@piwigo.org>2011-04-03 15:59:35 +0000
commit91b0ba38abb7f4158ec0cca3a21e85badacd2303 (patch)
treebb12755bf1a640ae891f161e3d6891a0d7936d8a /ws.php
parent00ed60887729a445a0bdd26729a362bd2377f052 (diff)
merge r10017 from trunk to 2.2 (bug:1023)
git-svn-id: http://piwigo.org/svn/branches/2.2@10022 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index c2d2115d7..7bc4dc21c 100644
--- a/ws.php
+++ b/ws.php
@@ -42,6 +42,9 @@ function ws_addDefaultMethods( $arr )
$service = &$arr[0];
$service->addMethod('pwg.getVersion', 'ws_getVersion', null,
'retrieves the PWG version');
+
+ $service->addMethod('pwg.getInfos', 'ws_getInfos', null,
+ 'retrieves general informations');
$service->addMethod('pwg.caddie.add', 'ws_caddie_add',
array(