feature 2085: forgotten file for r8297
git-svn-id: http://piwigo.org/svn/trunk@8309 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
ad09493926
commit
9ec33d9ab9
1 changed files with 11 additions and 0 deletions
11
ws.php
11
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');
|
||||
|
|
Loading…
Reference in a new issue