diff --git a/Mage/Task/BuiltIn/Symfony2/CacheWarmup.php b/Mage/Task/BuiltIn/Symfony2/CacheWarmup.php index db11df6..06b93fd 100644 --- a/Mage/Task/BuiltIn/Symfony2/CacheWarmup.php +++ b/Mage/Task/BuiltIn/Symfony2/CacheWarmup.php @@ -6,15 +6,12 @@ class Mage_Task_BuiltIn_Symfony2_CacheWarmup { return 'Symfony v2 - Cache Warmup [built-in]'; } - + public function run() { - $command = 'app/console cache:clear'; - $result = $this->_runLocalCommand($command); - $command = 'app/console cache:warmup'; - $result = $result && $this->_runLocalCommand($command); - + $result = $this->_runLocalCommand($command); + return $result; } -} \ No newline at end of file +}