Skip to content

Commit

Permalink
Delete empty media namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
michitux committed Mar 30, 2013
1 parent f4e4c17 commit f102d50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f102d50

Please sign in to comment.