From 73d9f75f3e17ce3a325e63031e90f1ca909dffd0 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Wed, 30 Oct 2013 20:32:20 +0000 Subject: feature 2976: correct description of pwg.permissions.getList git-svn-id: http://piwigo.org/svn/trunk@25246 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ws.php') 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) ); -- cgit v1.2.3