Also move the old files to the new hash path.
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 7 May 2008 15:09:25 +0000 (15:09 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 7 May 2008 15:09:25 +0000 (15:09 +0000)
includes/filerepo/LocalFile.php

index 5528c30..29a6389 100644 (file)
@@ -1704,7 +1704,7 @@ class LocalFileMoveBatch {
                        }
                        $this->olds[] = array(
                                "{$archiveBase}/{$this->oldHash}{$oldname}",
-                               "{$archiveBase}/{$this->oldHash}{$timestamp}!{$this->newName}"
+                               "{$archiveBase}/{$this->newHash}{$timestamp}!{$this->newName}"
                        );
                }
                $this->db->freeResult( $result );