mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Remove Symfony v1 commands.
This commit is contained in:
		
							parent
							
								
									fbb2aa1a46
								
							
						
					
					
						commit
						a29eb1e207
					
				@ -1,17 +0,0 @@
 | 
				
			|||||||
<?php
 | 
					 | 
				
			||||||
class Mage_Task_BuiltIn_Symfony1_ClearCache
 | 
					 | 
				
			||||||
    extends Mage_Task_TaskAbstract
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    public function getName()
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        return 'Symfony v1 - Clear Cache [built-in]';
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    public function run()
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        $command = 'symfony cc';
 | 
					 | 
				
			||||||
        $result = $this->_runLocalCommand($command);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        return $result;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -1,17 +0,0 @@
 | 
				
			|||||||
<?php
 | 
					 | 
				
			||||||
class Mage_Task_BuiltIn_Symfony1_Migrate
 | 
					 | 
				
			||||||
    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;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user