فهرست منبع

Add missing variable

Jordi Boggiano 6 سال پیش
والد
کامیت
347231d324
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/Packagist/WebBundle/Command/CompileStatsCommand.php

+ 2 - 0
src/Packagist/WebBundle/Command/CompileStatsCommand.php

@@ -49,6 +49,8 @@ class CompileStatsCommand extends ContainerAwareCommand
         $conn = $doctrine->getManager()->getConnection();
         $this->redis = $redis = $this->getContainer()->get('snc_redis.default');
 
+        $yesterday = new \DateTime('yesterday 00:00:00');
+
         // fetch existing ids
         $doctrine = $this->getContainer()->get('doctrine');
         $packages = $conn->fetchAll('SELECT id FROM package ORDER BY id ASC');