Tmporary disable removing downloaded reels
All checks were successful
Push image to registry / build-image (push) Successful in 5m25s
All checks were successful
Push image to registry / build-image (push) Successful in 5m25s
This commit is contained in:
@ -187,12 +187,12 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces
|
|||||||
dump($e->getMessage());
|
dump($e->getMessage());
|
||||||
} finally {
|
} finally {
|
||||||
// Removes all videos in the download folder
|
// Removes all videos in the download folder
|
||||||
$files = glob($this->downloadFolder . '*'); // Get all files in the download folder
|
// $files = glob($this->downloadFolder . '*'); // Get all files in the download folder
|
||||||
foreach ($files as $file) {
|
// foreach ($files as $file) {
|
||||||
if (is_file($file)) {
|
// if (is_file($file)) {
|
||||||
unlink($file); // Delete the file
|
// unlink($file); // Delete the file
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user