diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index 9b3f03d05..a2459f2d1 100644 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -81,14 +81,12 @@ class SettingsController extends Controller public function dataImport() { - abort_if(!config_cache('pixelfed.import.instagram.enabled'), 404); return view('settings.import.home'); } public function dataImportInstagram() { - abort_if(!config_cache('pixelfed.import.instagram.enabled'), 404); - return view('settings.import.instagram.home'); + abort(404); } public function developers() diff --git a/resources/views/settings/partial/sidebar.blade.php b/resources/views/settings/partial/sidebar.blade.php index 34f12971b..b4acf8c9b 100644 --- a/resources/views/settings/partial/sidebar.blade.php +++ b/resources/views/settings/partial/sidebar.blade.php @@ -1,5 +1,5 @@ -
-