mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
		
			366 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			366 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								class Mage_Task_BuiltIn_Symfony_ClearCache
							 | 
						||
| 
								 | 
							
								    extends Mage_Task_TaskAbstract
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    public function getName()
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        return 'Symfony v1 - Run Migrations [built-in]';
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								    public function run()
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        $command = 'symfony doctrine:migrate';
							 | 
						||
| 
								 | 
							
								        $result = $this->_runLocalCommand($command);
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								        return $result;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |