mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
Merge branch 'master' into 1236-database-changes
This commit is contained in:
@@ -50,9 +50,7 @@ class DatabaseServiceProvider extends AbstractServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
if ($this->app->isInstalled()) {
|
||||
AbstractModel::setConnectionResolver($this->app->make('Illuminate\Database\ConnectionResolverInterface'));
|
||||
AbstractModel::setEventDispatcher($this->app->make('events'));
|
||||
}
|
||||
AbstractModel::setConnectionResolver($this->app->make('Illuminate\Database\ConnectionResolverInterface'));
|
||||
AbstractModel::setEventDispatcher($this->app->make('events'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user