浏览代码

Merge pull request #873 from sadortun/patch-3

Removed unused variable
Jordi Boggiano 6 年之前
父节点
当前提交
bda6874829
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/Packagist/WebBundle/Command/CompileStatsCommand.php

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

@@ -117,9 +117,6 @@ 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) {
             $output->writeln('Writing new trendiness data into redis');
         }