aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ws.php4
1 files changed, 4 insertions, 0 deletions
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'
);