aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-10-30 20:32:20 +0000
committermistic100 <mistic@piwigo.org>2013-10-30 20:32:20 +0000
commit73d9f75f3e17ce3a325e63031e90f1ca909dffd0 (patch)
treea9428bd6d05175c5941b992b3ad20f95561f8078
parent180e1a185c465511f1f848f82346afdf5fc31902 (diff)
feature 2976: correct description of pwg.permissions.getList
git-svn-id: http://piwigo.org/svn/trunk@25246 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--ws.php5
1 files changed, 2 insertions, 3 deletions
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),
),
- '<b>Admin only.</b> Returns permissions: user ids and group ids having access to each album ; this list can be filterd with "cat_id".
-<br>If "user_id" OR "group_id" is provided it returns a list of album ids the user or group has access to.
-<br>Provide only on parameter!',
+ '<b>Admin only.</b> Returns permissions: user ids and group ids having access to each album ; this list can be filtered.
+<br>Provide only one parameter!',
null,
array('admin_only'=>true)
);