浏览代码

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');
         }