1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 07:24:27 +02:00

Revert "Use lifecycle interface for frontend extender (#2211)" (#2301)

This reverts commit 3117d2ad7a.
This commit is contained in:
Alexander Skvortsov
2020-09-23 00:21:45 -04:00
committed by GitHub
parent fa0ff204dd
commit 1321b8cc28
3 changed files with 16 additions and 29 deletions

View File

@@ -9,6 +9,8 @@
namespace Flarum\Admin;
use Flarum\Extension\Event\Disabled;
use Flarum\Extension\Event\Enabled;
use Flarum\Foundation\AbstractServiceProvider;
use Flarum\Foundation\ErrorHandling\Registry;
use Flarum\Foundation\ErrorHandling\Reporter;
@@ -116,7 +118,7 @@ class AdminServiceProvider extends AbstractServiceProvider
$events = $this->app->make('events');
$events->listen(
ClearingCache::class,
[Enabled::class, Disabled::class, ClearingCache::class],
function () {
$recompile = new RecompileFrontendAssets(
$this->app->make('flarum.assets.admin'),