mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:50:24 +08:00
Make sure deprecated ConfigureClientView event still works
This commit is contained in:
parent
15adfc528f
commit
7c0a72047a
@ -10,6 +10,7 @@
|
||||
|
||||
namespace Flarum\Http\Controller;
|
||||
|
||||
use Flarum\Event\ConfigureClientView;
|
||||
use Flarum\Event\ConfigureWebApp;
|
||||
use Flarum\Http\WebApp\AbstractWebApp;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
@ -34,6 +35,9 @@ abstract class AbstractWebAppController extends AbstractHtmlController
|
||||
{
|
||||
$view = $this->getView($request);
|
||||
|
||||
$this->events->fire(
|
||||
new ConfigureClientView($this, $view, $request)
|
||||
);
|
||||
$this->events->fire(
|
||||
new ConfigureWebApp($this, $view, $request)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user