Skip to content

Commit

Permalink
Fix inaccurate log message
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Jan 27, 2018
1 parent 326ca6a commit d91dda3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cron/poll_video_rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* Connect to the database.
*/
$db = new Database;
$db->connect_old();

/*
* Instantiate the logging class.
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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);

}

Expand Down

0 comments on commit d91dda3

Please sign in to comment.