diff options
author | plegall <plg@piwigo.org> | 2008-09-21 20:42:17 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2008-09-21 20:42:17 +0000 |
commit | 0283203cce1eea428179166099bd3238c710c301 (patch) | |
tree | e044338bff64a0bca285c71fe3f2781b0a4f257c /ws.php | |
parent | a49da1d48035569fae1b6f336ef038fbaa5f3bc8 (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.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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'); |