mirror of
https://github.com/flarum/core.git
synced 2025-08-04 23:47:32 +02:00
Refactor Flarum\Web and Flarum\Admin
- In order to be consistent with the Ember/LESS naming scheme, renamed Flarum\Web to Flarum\Forum. - Moved common classes into Flarum\Support so that Flarum\Admin doesn’t depend on Flarum\Forum. Also moved Actor into Flarum\Support as it doesn’t belong in the domain.
This commit is contained in:
@@ -19,7 +19,7 @@ class ApiServiceProvider extends ServiceProvider
|
||||
|
||||
include __DIR__.'/routes.php';
|
||||
|
||||
BaseSerializer::setActor($this->app['Flarum\Core\Support\Actor']);
|
||||
BaseSerializer::setActor($this->app['Flarum\Support\Actor']);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -29,6 +29,6 @@ class ApiServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
$this->app->singleton('Flarum\Core\Support\Actor');
|
||||
$this->app->singleton('Flarum\Support\Actor');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user