X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcopyFileBackend.php;h=3374893755fb92bf49a0e5d489886875f5688ea2;hb=733704ed8248f71dfb982d22799104a976d1ada4;hp=3c7ffba578fd2672248259550917c5609e0f800f;hpb=16ef3e79c4c52aa6b74563b7eadcfc9792e7a4c4;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/copyFileBackend.php b/maintenance/copyFileBackend.php index 3c7ffba578..3374893755 100644 --- a/maintenance/copyFileBackend.php +++ b/maintenance/copyFileBackend.php @@ -337,9 +337,7 @@ class CopyFileBackend extends Maintenance { $dPathSha1 = sha1( $dPath ); if ( $this->statCache !== null ) { // All dst files are already in stat cache - $dstStat = isset( $this->statCache[$dPathSha1] ) - ? $this->statCache[$dPathSha1] - : false; + $dstStat = $this->statCache[$dPathSha1] ?? false; } else { $dstStat = $dst->getFileStat( [ 'src' => $dPath ] ); }