Browse Source

Removed cache:clear command from Warmup task

1.0
Ismael Ambrosi 12 years ago
parent
commit
6b7d60dfb4
  1. 5
      Mage/Task/BuiltIn/Symfony2/CacheWarmup.php

5
Mage/Task/BuiltIn/Symfony2/CacheWarmup.php

@ -9,11 +9,8 @@ class Mage_Task_BuiltIn_Symfony2_CacheWarmup
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;
} }

Loading…
Cancel
Save