aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-23 15:58:31 +0100
committerplegall <plg@piwigo.org>2016-02-23 15:58:31 +0100
commitbbe117080de593376007b89e76384bf449f1a004 (patch)
tree8889482ac7bb9095b28f84d286b9fcf76d54cb0e /ws.php
parente936d291ebd2ffbffd6eabe33b8e26c979171900 (diff)
feature #321, set status with pwg.categories.setInfos
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index 44e34b3a6..6a2bd211d 100644
--- a/ws.php
+++ b/ws.php
@@ -692,6 +692,8 @@ function ws_addDefaultMethods( $arr )
'category_id' => array('type'=>WS_TYPE_ID),
'name' => array('default'=>null),
'comment' => array('default'=>null),
+ 'status' => array('default'=>null,
+ 'info'=>'public, private'),
),
'Changes properties of an album.',
$ws_functions_root . 'pwg.categories.php',