From: Steinar H. Gunderson Date: Sat, 23 Apr 2005 01:42:57 +0000 (+0000) Subject: Do "NOTIFY scores" when updating short titles. X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=c6b35804f3b71c1fd5cc3e6be6d1f2f3a1b0f015 Do "NOTIFY scores" when updating short titles. --- diff --git a/html/do-update-shorttitles.pl b/html/do-update-shorttitles.pl index 03c9f13..97d7c6e 100755 --- a/html/do-update-shorttitles.pl +++ b/html/do-update-shorttitles.pl @@ -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');