diff --git a/www/bug.php b/www/bug.php index 8ec786f4..9fca7257 100644 --- a/www/bug.php +++ b/www/bug.php @@ -1288,5 +1288,5 @@ function control($num, $desc) function canvote($thanks, $status) { - return ($thanks != 4 && $thanks != 6 && $status != 'Closed' && $status != 'Not a bug' && $status != 'Duplicate'); + return false; } diff --git a/www/vote.php b/www/vote.php index e32f21d0..517f7079 100644 --- a/www/vote.php +++ b/www/vote.php @@ -3,6 +3,8 @@ use App\Repository\BugRepository; use App\Repository\VoteRepository; +die('Voting on tickets is disabled'); + // Obtain common includes require_once '../include/prepend.php';