From 3b7e9e07e188e174ca50dcc4e8b0a0d799bc27fa Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 25 May 2020 21:30:18 -0600 Subject: [PATCH] Update ImportController --- app/Http/Controllers/ImportController.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Http/Controllers/ImportController.php b/app/Http/Controllers/ImportController.php index 6598a9e7c..37a5ddd7e 100644 --- a/app/Http/Controllers/ImportController.php +++ b/app/Http/Controllers/ImportController.php @@ -6,15 +6,15 @@ use Illuminate\Http\Request; class ImportController extends Controller { - use Import\Instagram, Import\Mastodon; + use Import\Instagram, Import\Mastodon; - public function __construct() - { - $this->middleware('auth'); + public function __construct() + { + $this->middleware('auth'); - if(config('pixelfed.import.instagram.enabled') != true) { - abort(404, 'Feature not enabled'); - } - } + if(config('pixelfed.import.instagram.enabled') != true) { + abort(404, 'Feature not enabled'); + } + } }