소스 검색

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