Przeglądaj źródła

Update ImportController

Daniel Supernault 5 lat temu
rodzic
commit
3b7e9e07e1
1 zmienionych plików z 8 dodań i 8 usunięć
  1. 8 8
      app/Http/Controllers/ImportController.php

+ 8 - 8
app/Http/Controllers/ImportController.php

@@ -6,15 +6,15 @@ use Illuminate\Http\Request;
 
 
 class ImportController extends Controller
 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');
+		}
+	}
 
 
 }
 }