From 6b7d60dfb463f81a798568bdd1303887f37799e0 Mon Sep 17 00:00:00 2001 From: Ismael Ambrosi Date: Tue, 26 Jun 2012 20:38:38 -0300 Subject: [PATCH] Removed cache:clear command from Warmup task --- Mage/Task/BuiltIn/Symfony2/CacheWarmup.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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 +}