|
@@ -50,6 +50,10 @@ class ImportInstagram implements ShouldQueue
|
|
*/
|
|
*/
|
|
public function handle()
|
|
public function handle()
|
|
{
|
|
{
|
|
|
|
+ if(config('pixelfed.import.instagram.enabled') != true) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
$job = $this->job;
|
|
$job = $this->job;
|
|
$profile = $this->job->profile;
|
|
$profile = $this->job->profile;
|
|
$json = $job->mediaJson();
|
|
$json = $job->mediaJson();
|