From d91dda3655750e6017eb5a33c5ed174a1bd31f34 Mon Sep 17 00:00:00 2001 From: Waldo Jaquith Date: Fri, 26 Jan 2018 19:43:27 -0500 Subject: [PATCH] Fix inaccurate log message --- cron/poll_video_rss.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron/poll_video_rss.php b/cron/poll_video_rss.php index 45cec7c..751ed2d 100644 --- a/cron/poll_video_rss.php +++ b/cron/poll_video_rss.php @@ -8,6 +8,7 @@ * Connect to the database. */ $db = new Database; +$db->connect_old(); /* * Instantiate the logging class. @@ -187,7 +188,6 @@ * But if we did find videos, iterate through them, see which are needed, and queue them in * SQS. */ - $sql = 'SELECT chamber, date, CASE WHEN committee_id IS NULL THEN "floor" @@ -243,7 +243,7 @@ ]); $log->put('Machine found new video, for ' . $video['date'] . ', at ' . $video['url'] - . ', for the ' . ucfirst($video['chamber']) . '. Starting video processor.', 5); + . ', for the ' . ucfirst($video['chamber']) . '.', 5); }