]> git.sesse.net Git - ccbs/commitdiff
Do "NOTIFY scores" when updating short titles.
authorSteinar H. Gunderson <sesse@samfundet.no>
Sat, 23 Apr 2005 01:42:57 +0000 (01:42 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sat, 23 Apr 2005 01:42:57 +0000 (01:42 +0000)
html/do-update-shorttitles.pl

index 03c9f13b154c27ddfadc754cdca5fd4d422612ea..97d7c6e8cb56775f4d3350b0914066f5d966dd6f 100755 (executable)
@@ -25,7 +25,12 @@ for my $p ($cgi->param()) {
                $q->execute($num, $st);
        }
 }
                $q->execute($num, $st);
        }
 }
+
+# This will make the big screen use the new short titles, if it needs them
+$dbh->do('NOTIFY scores');
+
 $dbh->commit;
 $dbh->commit;
+
 $dbh->disconnect;
 
 ccbs::print_see_other('shorttitles.pl');
 $dbh->disconnect;
 
 ccbs::print_see_other('shorttitles.pl');