Skip to content

Commit

Permalink
Oscars insight: Fix day_of_week [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Feb 24, 2015
1 parent f2ced17 commit a7be8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/plugins/insightsgenerator/insights/oscars2015.php
Expand Up @@ -50,7 +50,7 @@ public function generateInsight(Instance $instance, User $user, $last_week_of_po
$iterator = false, $is_public = false);

if (self::shouldGenerateWeeklyInsight('oscars_2015', $instance, $insight_date='today',
$regenerate_existing_insight=false, $day_of_week=2, count($last_month_of_posts))) {
$regenerate_existing_insight=false, $day_of_week=1, count($last_month_of_posts))) {
foreach ($last_month_of_posts as $post) {
$this->logger->logInfo("Post text is: " . $post->post_text, __METHOD__.','.__LINE__);
// see if $post date is before the awards aired
Expand Down

0 comments on commit a7be8f4

Please sign in to comment.