mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
feature 2486 merge from trunk -r12624,12625,12650 Add an admin view for rates by user (improvement)
git-svn-id: http://piwigo.org/svn/branches/2.3@12651 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -154,7 +154,16 @@ function ws_addDefaultMethods( $arr )
|
||||
),
|
||||
'sets the rank of a photo for a given album (POST method only, for admins)'
|
||||
);
|
||||
|
||||
|
||||
|
||||
$service->addMethod('pwg.rates.delete', 'ws_rates_delete',
|
||||
array(
|
||||
'user_id' => array(),
|
||||
'anonymous_id' => array( 'default'=>'' ),
|
||||
),
|
||||
'deletes all rates for a user (POST method only, admins only)'
|
||||
);
|
||||
|
||||
$service->addMethod('pwg.session.getStatus', 'ws_session_getStatus', null, '' );
|
||||
$service->addMethod('pwg.session.login', 'ws_session_login',
|
||||
array('username', 'password'),
|
||||
|
||||
Reference in New Issue
Block a user