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 03c9f13..97d7c6e 100755 (executable)
@@ -25,7 +25,12 @@ for my $p ($cgi->param()) {
                $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->disconnect;
 
 ccbs::print_see_other('shorttitles.pl');