diff options
author | plegall <plg@piwigo.org> | 2008-09-24 21:30:33 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2008-09-24 21:30:33 +0000 |
commit | 5adad7565c9c169dd623bac6704121f7d6aba151 (patch) | |
tree | 7e944e6961dfaf736adcb2403e0b14f0e46b1a28 /ws.php | |
parent | 6df515a54ff63812076dfbf8dc6514fa9416b08a (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | ws.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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'); |