From 6e95762236359493068b04ea2db5e1ca9c6b2616 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sun, 5 Jun 2016 15:07:15 +0930 Subject: [PATCH] Fix updater --- framework/core/src/Update/UpdateServiceProvider.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/framework/core/src/Update/UpdateServiceProvider.php b/framework/core/src/Update/UpdateServiceProvider.php index 9f2bb023e..a3a4495aa 100644 --- a/framework/core/src/Update/UpdateServiceProvider.php +++ b/framework/core/src/Update/UpdateServiceProvider.php @@ -11,14 +11,11 @@ namespace Flarum\Update; use Flarum\Foundation\AbstractServiceProvider; -use Flarum\Http\GenerateRouteHandlerTrait; use Flarum\Http\Handler\RouteHandlerFactory; use Flarum\Http\RouteCollection; class UpdateServiceProvider extends AbstractServiceProvider { - use GenerateRouteHandlerTrait; - /** * {@inheritdoc} */ @@ -36,7 +33,7 @@ class UpdateServiceProvider extends AbstractServiceProvider */ public function boot() { - $this->populateRoutes($this->app->make('flarum.install.routes')); + $this->populateRoutes($this->app->make('flarum.update.routes')); } /**