diff options
author | plegall <plg@piwigo.org> | 2008-10-01 21:08:51 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2008-10-01 21:08:51 +0000 |
commit | 600e2d87ecc359b3bd202c4b471c042f319e1e2b (patch) | |
tree | e3c09337a0e31213fa12b6233ec74a4f01259852 /ws.php | |
parent | 610e5ada6e8e5876a7275e827abf45b849dba06b (diff) |
feature 874 added: new Web API method pwg.tags.add.
git-svn-id: http://piwigo.org/svn/trunk@2634 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | ws.php | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -218,6 +218,15 @@ function ws_addDefaultMethods( $arr ) array(), 'administration method only' ); + + $service->addMethod( + 'pwg.tags.add', + 'ws_tags_add', + array( + 'name' => array(), + ), + 'administration method only' + ); } add_event_handler('ws_add_methods', 'ws_addDefaultMethods'); |