mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:17:35 -05:00 
			
		
		
		
	Adjustments for post update
This commit is contained in:
		
							parent
							
								
									e6419085b2
								
							
						
					
					
						commit
						ad156e5935
					
				@ -69,16 +69,22 @@ class PostUpdate extends Command
 | 
				
			|||||||
            info("I wasn't able to optimize.");
 | 
					            info("I wasn't able to optimize.");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        info("optimized");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
            Artisan::call('view:clear');
 | 
					            Artisan::call('view:clear');
 | 
				
			||||||
        } catch (\Exception $e) {
 | 
					        } catch (\Exception $e) {
 | 
				
			||||||
            info("I wasn't able to clear the views.");
 | 
					            info("I wasn't able to clear the views.");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        info("view cleared");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /* For the following to work, the web user (www-data) must own all the directories */
 | 
					        /* For the following to work, the web user (www-data) must own all the directories */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        VersionCheck::dispatch();
 | 
					        VersionCheck::dispatch();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        info("sent for version check");
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
        echo "Done.";
 | 
					        echo "Done.";
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user