X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcopyFileBackend.php;h=9ed63c3c56c453f12103596470f9734361dcb478;hb=69217704148a5751754fb1b9587e7f6d5c774b13;hp=8bacb264ed265810911e5508c52181511638ffaa;hpb=adbadb9ee62284d70d9e7763379ab3b4eb6bde6f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/copyFileBackend.php b/maintenance/copyFileBackend.php index 8bacb264ed..9ed63c3c56 100644 --- a/maintenance/copyFileBackend.php +++ b/maintenance/copyFileBackend.php @@ -35,7 +35,7 @@ require_once __DIR__ . '/Maintenance.php'; * @ingroup Maintenance */ class CopyFileBackend extends Maintenance { - /** @var Array|null (path sha1 => stat) Pre-computed dst stat entries from listings */ + /** @var array|null (path sha1 => stat) Pre-computed dst stat entries from listings */ protected $statCache = null; public function __construct() { @@ -373,6 +373,7 @@ class CopyFileBackend extends Maintenance { $same = ( $src->getFileSha1Base36( array( 'src' => $sPath, 'latest' => 1 ) ) === $dst->getFileSha1Base36( array( 'src' => $dPath, 'latest' => 1 ) ) ); } + return $same; } }