my $tournament = $cgi->param('tournament');
$dbh->{AutoCommit} = 0;
+$dbh->do('DELETE FROM bigscreen.active_groups');
$dbh->do('DELETE FROM bigscreen.active_tournament');
if ($tournament != -1) {
$dbh->do('INSERT INTO bigscreen.active_tournament VALUES (?)', undef, $tournament);