فهرست منبع

Removed unused variable

Samuel Denis-D'Ortun 7 سال پیش
والد
کامیت
12de7cc16e
1فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  1. 1 4
      src/Packagist/WebBundle/Command/CompileStatsCommand.php

+ 1 - 4
src/Packagist/WebBundle/Command/CompileStatsCommand.php

@@ -117,10 +117,7 @@ class CompileStatsCommand extends ContainerAwareCommand
             $ids[] = $row['id'];
         }
 
-        // add downloads from the last 7 days to the solr index
-        $solarium = $this->getContainer()->get('solarium.client');
-
-        if ($verbose) {
+         if ($verbose) {
             $output->writeln('Writing new trendiness data into redis');
         }