Просмотр исходного кода

Merge pull request #873 from sadortun/patch-3

Removed unused variable
Jordi Boggiano 6 лет назад
Родитель
Сommit
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');
         }