X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2Fjobs%2FThumbnailRenderJob.php;h=0abc0e30b930c0430960ed04d6148fe312fa0bde;hb=bb3da3829714d17315986b517e5286d73cd2953e;hp=f558c4887b3b32b62f4a34834e3274b8aff8a227;hpb=9331443546fa61cd56b0c95817d5bddda6bf6b24;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/jobs/ThumbnailRenderJob.php b/includes/jobqueue/jobs/ThumbnailRenderJob.php index f558c4887b..0abc0e30b9 100644 --- a/includes/jobqueue/jobs/ThumbnailRenderJob.php +++ b/includes/jobqueue/jobs/ThumbnailRenderJob.php @@ -59,14 +59,16 @@ class ThumbnailRenderJob extends Job { if ( $status === 200 || $status === 301 || $status === 302 || $status === 400 ) { return true; } elseif ( $status ) { - $this->setLastError( __METHOD__ . ': incorrect HTTP status ' . $status . ' when hitting ' . $thumbUrl ); + $this->setLastError( __METHOD__ . ': incorrect HTTP status ' . + $status . ' when hitting ' . $thumbUrl ); return false; } else { $this->setLastError( __METHOD__ . ': HTTP request failure' ); return false; } } else { - $this->setLastError( __METHOD__ . ': unknown thumbnail render method ' . $wgUploadThumbnailRenderMethod ); + $this->setLastError( __METHOD__ . ': unknown thumbnail render method ' . + $wgUploadThumbnailRenderMethod ); return false; } } else {