Removed cache:clear command from Warmup task

This commit is contained in:
Ismael Ambrosi
2012-06-26 20:38:38 -03:00
parent 384aa3cf79
commit 6b7d60dfb4
+4 -7
View File
@@ -6,15 +6,12 @@ class Mage_Task_BuiltIn_Symfony2_CacheWarmup
{ {
return 'Symfony v2 - Cache Warmup [built-in]'; return 'Symfony v2 - Cache Warmup [built-in]';
} }
public function run() public function run()
{ {
$command = 'app/console cache:clear';
$result = $this->_runLocalCommand($command);
$command = 'app/console cache:warmup'; $command = 'app/console cache:warmup';
$result = $result && $this->_runLocalCommand($command); $result = $this->_runLocalCommand($command);
return $result; return $result;
} }
} }