diff --git a/ws.php b/ws.php index c92523b5a..d7fef2634 100644 --- a/ws.php +++ b/ws.php @@ -894,9 +894,8 @@ function ws_addDefaultMethods( $arr ) 'user_id' => array('flags'=>WS_PARAM_FORCE_ARRAY|WS_PARAM_OPTIONAL, 'type'=>WS_TYPE_ID), ), - 'Admin only. Returns permissions: user ids and group ids having access to each album ; this list can be filterd with "cat_id". -
If "user_id" OR "group_id" is provided it returns a list of album ids the user or group has access to. -
Provide only on parameter!', + 'Admin only. Returns permissions: user ids and group ids having access to each album ; this list can be filtered. +
Provide only one parameter!', null, array('admin_only'=>true) );