aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-12-26 22:52:35 +0000
committerplegall <plg@piwigo.org>2010-12-26 22:52:35 +0000
commit9ec33d9ab9f28d876d8161c553b5ee67a5dc68e2 (patch)
tree3eb9f130da845a2f3c6fe2549fe44cd9bf8df1cf
parentad09493926b6067f316ffdbf2220fb17be2308da (diff)
feature 2085: forgotten file for r8297
git-svn-id: http://piwigo.org/svn/trunk@8309 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--ws.php11
1 files changed, 11 insertions, 0 deletions
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
<br>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<br>administration status required'
+ );
}
add_event_handler('ws_add_methods', 'ws_addDefaultMethods');