mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 00:17:34 -05:00 
			
		
		
		
	Merge pull request #7224 from turbo124/v5-develop
Fixes for backup update command
This commit is contained in:
		
						commit
						dd2fe1084c
					
				@ -77,7 +77,7 @@ class BackupUpdate extends Command
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        set_time_limit(0);
 | 
					        set_time_limit(0);
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        Backup::chunk(100, function ($backups) {
 | 
					        Backup::whereRaw('html_backup != "" OR html_backup IS NOT NULL')->chunk(5000, function ($backups) {
 | 
				
			||||||
            foreach ($backups as $backup) {
 | 
					            foreach ($backups as $backup) {
 | 
				
			||||||
                
 | 
					                
 | 
				
			||||||
                if($backup->activity->client()->exists()){
 | 
					                if($backup->activity->client()->exists()){
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user