1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 15:34:26 +02:00

added new methods etc

This commit is contained in:
Daniel Klabbers
2017-10-05 16:25:01 +02:00
parent 3f9dc81874
commit a7f3ca4b22
5 changed files with 65 additions and 33 deletions

View File

@@ -28,7 +28,6 @@ class DatabaseServiceProvider extends AbstractServiceProvider
$connection = $factory->make($this->app->config('database'));
$connection->setEventDispatcher($this->app->make('Illuminate\Contracts\Events\Dispatcher'));
$connection->setFetchMode(PDO::FETCH_CLASS);
return $connection;
});