Browse Source

Removed unused variable

Samuel Denis-D'Ortun 7 năm trước cách đây
mục cha
commit
12de7cc16e
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  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');
         }