aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2008-09-21 20:42:17 +0000
committerplegall <plg@piwigo.org>2008-09-21 20:42:17 +0000
commit0283203cce1eea428179166099bd3238c710c301 (patch)
treee044338bff64a0bca285c71fe3f2781b0a4f257c /ws.php
parenta49da1d48035569fae1b6f336ef038fbaa5f3bc8 (diff)
new: webservice method pwg.categories.getAdminList was added so that pLoader
can see the list of categories as you can see in the administration interface : not filtered by individual permissions. git-svn-id: http://piwigo.org/svn/trunk@2563 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--ws.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index ff4d35ce2..63f0d260d 100644
--- a/ws.php
+++ b/ws.php
@@ -186,6 +186,13 @@ function ws_addDefaultMethods( $arr )
),
'POST method only'
);
+
+ $service->addMethod(
+ 'pwg.categories.getAdminList',
+ 'ws_categories_getAdminList',
+ array(),
+ 'administration method only'
+ );
}
add_event_handler('ws_add_methods', 'ws_addDefaultMethods');