From 9ec33d9ab9f28d876d8161c553b5ee67a5dc68e2 Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 26 Dec 2010 22:52:35 +0000 Subject: feature 2085: forgotten file for r8297 git-svn-id: http://piwigo.org/svn/trunk@8309 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ws.php') diff --git a/ws.php b/ws.php index f43da5b9b..1eab00306 100644 --- a/ws.php +++ b/ws.php @@ -388,6 +388,17 @@ function ws_addDefaultMethods( $arr ) 'install/activate/deactivate/uninstall/delete a plugin
administration status required' ); + + $service->addMethod( + 'pwg.themes.performAction', + 'ws_themes_performAction', + array( + 'action' => array('default' => null), + 'themes' => array('default' => null), + 'pwg_token' => array('default' => null), + ), + 'activate/deactivate/delete/set_default a theme
administration status required' + ); } add_event_handler('ws_add_methods', 'ws_addDefaultMethods'); -- cgit v1.2.3