diff options
author | mistic100 <mistic@piwigo.org> | 2012-06-20 15:41:31 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-06-20 15:41:31 +0000 |
commit | 07c7470584c11c2a20792f123299c79aebcad6da (patch) | |
tree | d5d83057729e957c145ba957e6d296ed1463de97 /ws.php | |
parent | d355647796af5b1d76820cb5a5d64eacf28aa925 (diff) |
feature 2657: More options for pwg.categories.add
git-svn-id: http://piwigo.org/svn/trunk@15850 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r-- | ws.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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' ); |