diff --git a/helper.php b/helper.php index 8fe8e15..c5a1139 100644 --- a/helper.php +++ b/helper.php @@ -493,6 +493,8 @@ public function move_media(&$opts, $checkonly = false) { return false; } + io_sweepNS($opts['id'], 'mediadir'); + // Move the old revisions if (!$this->movemediaattic($opts)) { // it's too late to stop the move, so just display a message.