Mercurial > hg > fapweb
diff createdb.php @ 103:c6b9041078ec
Add hard limit option for attendees, and add feature of using "0" to disable
hard and soft limit completely.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 21 Oct 2013 14:52:06 +0300 |
parents | 3939cb04bdce |
children | c7b1eb993240 |
line wrap: on
line diff
--- a/createdb.php Mon Oct 21 13:45:11 2013 +0300 +++ b/createdb.php Mon Oct 21 14:52:06 2013 +0300 @@ -13,7 +13,8 @@ // The defaults we put in $siteDefaults = array( - "maxAttendees" => array(VT_INT, 60, "Maximum attendees (soft limit)"), + "maxAttendeesHard" => array(VT_INT, 60, "Maximum attendees (HARD limit, 0 = no limit)"), + "maxAttendeesSoft" => array(VT_INT, 50, "Maximum attendees (soft limit, 0 = no limit)"), "userTimeout" => array(VT_INT, 120, "User pages (voting, entry submission) timeout in minutes"), "admTimeout" => array(VT_INT, 15, "Administration interface timeout in minutes"),