mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
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');
|
||||
|
||||
Reference in New Issue
Block a user