From f102d50d401ca2552dbb7720f911eb766badba87 Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Sat, 30 Mar 2013 23:23:46 +0100 Subject: [PATCH] Delete empty media namespaces --- helper.php | 2 ++ 1 file changed, 2 insertions(+) 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.