mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-16 13:23:45 +02:00
Apply fixes from StyleCI (#335)
This commit is contained in:
@@ -114,7 +114,8 @@ class DatabaseRepository
|
||||
DB::connection('dynamic')->statement(sprintf('DROP DATABASE IF EXISTS `%s`', $database->database));
|
||||
DB::connection('dynamic')->statement(sprintf('DROP USER IF EXISTS `%s`@`%s`', $database->username, $database->remote));
|
||||
DB::connection('dynamic')->statement('FLUSH PRIVILEGES');
|
||||
} catch (\Exception $ex) {}
|
||||
} catch (\Exception $ex) {
|
||||
}
|
||||
|
||||
DB::rollBack();
|
||||
throw $ex;
|
||||
|
||||
Reference in New Issue
Block a user