From 235440078d5dbf8abb4199f923d9a0fd657c838a Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Wed, 4 Jun 2025 14:41:41 +0200 Subject: [PATCH] Tmporary disable removing downloaded reels --- .../Jobs/InstagramRepost/InstagramRepostJob.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php index 9757f78..3054175 100644 --- a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php +++ b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php @@ -187,12 +187,12 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces dump($e->getMessage()); } finally { // Removes all videos in the download folder - $files = glob($this->downloadFolder . '*'); // Get all files in the download folder - foreach ($files as $file) { - if (is_file($file)) { - unlink($file); // Delete the file - } - } + // $files = glob($this->downloadFolder . '*'); // Get all files in the download folder + // foreach ($files as $file) { + // if (is_file($file)) { + // unlink($file); // Delete the file + // } + // } } }