refactor(database-management): simplify docker cleanup logic in StopDatabase to enhance readability
This commit is contained in:
		@@ -27,11 +27,10 @@ class StopDatabase
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            $this->stopContainer($database, $database->uuid, 30);
 | 
			
		||||
            if ($isDeleteOperation) {
 | 
			
		||||
 | 
			
		||||
            if ($dockerCleanup) {
 | 
			
		||||
                CleanupDocker::dispatch($server, true);
 | 
			
		||||
            }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if ($database->is_public) {
 | 
			
		||||
                StopDatabaseProxy::run($database);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user