Skip to content

Commit

Permalink
feature 2085: forgotten file for r8297
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@8309 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Dec 26, 2010
1 parent ad09493 commit 9ec33d9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ws.php
Expand Up @@ -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');
Expand Down

0 comments on commit 9ec33d9

Please sign in to comment.