Apply fixes from StyleCI (#335)

This commit is contained in:
Dane Everitt 2017-03-05 20:28:29 -05:00 committed by GitHub
parent 3355554704
commit 5bf2e2686a
3 changed files with 6 additions and 5 deletions

View File

@ -213,7 +213,7 @@ class ServersController extends Controller
return view('admin.servers.view.database', [
'hosts' => Models\DatabaseServer::all(),
'server' => $server
'server' => $server,
]);
}

View File

@ -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;