mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Merge pull request #5 from iambrosi/cache-warmup-task
Removed cache:clear command from Warmup task
This commit is contained in:
		
						commit
						20b9a63c3b
					
				@ -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;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user