From 5adad7565c9c169dd623bac6704121f7d6aba151 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 24 Sep 2008 21:30:33 +0000 Subject: new: WebService method pwg.tags.getAdminList was added. The difference with pwg.tags.getList is that this new method doesn't take permissions into account, and so is available only for administrator connected users. git-svn-id: http://piwigo.org/svn/trunk@2584 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ws.php') diff --git a/ws.php b/ws.php index 5fdccff3a..b98d21e65 100644 --- a/ws.php +++ b/ws.php @@ -211,6 +211,13 @@ function ws_addDefaultMethods( $arr ) ), 'administration method only' ); + + $service->addMethod( + 'pwg.tags.getAdminList', + 'ws_tags_getAdminList', + array(), + 'administration method only' + ); } add_event_handler('ws_add_methods', 'ws_addDefaultMethods'); -- cgit v1.2.3