Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Nov 27, 2024
1 parent 7f1b6ce commit b0543b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions objects/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2600,6 +2600,10 @@ public function delete()
@rrmdir($file);
}
}
$files = glob("{$global['systemRootPath']}videos/pytube/video_download_{$this->id}"); // get all file names
foreach ($files as $file) { // iterate files
@rrmdir($file);
}
$this->deleteOriginal();

if (!empty($global['progressiveUpload'])) {
Expand Down

0 comments on commit b0543b7

Please sign in to comment.