Mercurial > hg > fapweb
changeset 1094:563fc90de965
Move 'voting enabled' global setting back to general settings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 26 Jan 2017 14:03:38 +0200 |
parents | 7bfa5a38b6ca |
children | faa835271dfd |
files | dbdefs.inc.php |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dbdefs.inc.php Thu Jan 26 13:56:34 2017 +0200 +++ b/dbdefs.inc.php Thu Jan 26 14:03:38 2017 +0200 @@ -37,6 +37,8 @@ "requireEMail" => array(VT_BOOL, false, "Require e-mail address in registrations"), "allowRegister" => array(VT_BOOL, false, "Enable event registration"), + + "allowVoting" => array(VT_BOOL, false, "Enable voting (individual compos must be enabled as well)"), ), "html" => array( @@ -198,7 +200,6 @@ // Voting // "voting" => array( - "allowVoting" => array(VT_BOOL, false, "Enable voting (individual compos must be enabled as well)"), "voteFinishedText" => array(VT_TEXT, " <h1>Yay, you have voted!</h1>