From e74acb1e4fd577a4aa51e166e0f2b9e2e9f06db4 Mon Sep 17 00:00:00 2001 From: Tim Nagel Date: Thu, 3 Apr 2014 08:00:52 +1100 Subject: [PATCH] Revert "Avoid index reset error in case of unexistant index" This reverts commit a121a777743525f46c65dc29d983c8eb92720664. --- Command/PopulateCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/PopulateCommand.php b/Command/PopulateCommand.php index 98834c7..af5fd5d 100644 --- a/Command/PopulateCommand.php +++ b/Command/PopulateCommand.php @@ -109,7 +109,7 @@ class PopulateCommand extends ContainerAwareCommand */ private function populateIndex(OutputInterface $output, $index, $reset, $options) { - if ($reset && $this->indexManager->getIndex($index)->exists()) { + if ($reset) { $output->writeln(sprintf('Resetting %s', $index)); $this->resetter->resetIndex($index); }