From: Bryan Tong Minh Date: Wed, 7 May 2008 15:09:25 +0000 (+0000) Subject: Also move the old files to the new hash path. X-Git-Tag: 1.31.0-rc.0~47845 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=05abc5783865d5c9f5a6d65f3fa2e89c03ee103a;p=lhc%2Fweb%2Fwiklou.git Also move the old files to the new hash path. --- diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index 5528c302a7..29a638932f 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -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 );