From 600e2d87ecc359b3bd202c4b471c042f319e1e2b Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 1 Oct 2008 21:08:51 +0000 Subject: feature 874 added: new Web API method pwg.tags.add. git-svn-id: http://piwigo.org/svn/trunk@2634 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ws.php') diff --git a/ws.php b/ws.php index b98d21e65..0c63e0fb5 100644 --- a/ws.php +++ b/ws.php @@ -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'); -- cgit v1.2.3