1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 05:30:38 +02:00

Remove a bunch of deprecated events

Use extenders instead!

Refs #1891.
This commit is contained in:
Franz Liedke
2020-04-27 22:04:08 +02:00
parent 7794546845
commit 7d1ef9d891
13 changed files with 6 additions and 467 deletions

View File

@@ -13,7 +13,6 @@ use Flarum\Api\Controller\AbstractSerializeController;
use Flarum\Api\Serializer\AbstractSerializer;
use Flarum\Api\Serializer\BasicDiscussionSerializer;
use Flarum\Api\Serializer\NotificationSerializer;
use Flarum\Event\ConfigureApiRoutes;
use Flarum\Event\ConfigureNotificationTypes;
use Flarum\Foundation\AbstractServiceProvider;
use Flarum\Foundation\Application;
@@ -120,9 +119,5 @@ class ApiServiceProvider extends AbstractServiceProvider
$callback = include __DIR__.'/routes.php';
$callback($routes, $factory);
$this->app->make('events')->dispatch(
new ConfigureApiRoutes($routes, $factory)
);
}
}