From 07c7470584c11c2a20792f123299c79aebcad6da Mon Sep 17 00:00:00 2001 From: mistic100 Date: Wed, 20 Jun 2012 15:41:31 +0000 Subject: feature 2657: More options for pwg.categories.add git-svn-id: http://piwigo.org/svn/trunk@15850 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ws.php') diff --git a/ws.php b/ws.php index 998ee1d6c..c0081cf77 100644 --- a/ws.php +++ b/ws.php @@ -308,6 +308,10 @@ function ws_addDefaultMethods( $arr ) array( 'name' => array(), 'parent' => array('default' => null), + 'comment' => array('default' => null), + 'visible' => array('default' => boolean_to_string($conf['newcat_default_visible'])), + 'status' => array('default' => $conf['newcat_default_status']), + 'commentable' => array('default' => 'true'), ), 'administration method only' ); -- cgit v1.2.3