mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 09:46:51 +01:00 
			
		
		
		
	replace db check in MakeUserCommand
This commit is contained in:
		
							parent
							
								
									33f10cbcb9
								
							
						
					
					
						commit
						29cc92f0dc
					
				@ -30,7 +30,7 @@ class MakeUserCommand extends Command
 | 
				
			|||||||
    public function handle(): int
 | 
					    public function handle(): int
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
            DB::select('select 1 where 1');
 | 
					            DB::connection()->getPdo();
 | 
				
			||||||
        } catch (Exception $exception) {
 | 
					        } catch (Exception $exception) {
 | 
				
			||||||
            $this->error($exception->getMessage());
 | 
					            $this->error($exception->getMessage());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user