X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcopyFileBackend.php;h=3374893755fb92bf49a0e5d489886875f5688ea2;hb=98f987241a798788817e87e2c4bec4c03ccdd8a5;hp=3c7ffba578fd2672248259550917c5609e0f800f;hpb=3f59cb9f3a53ad28f8a95fe299c5de6abd24b453;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 ] ); }