X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Ffilerepo%2Ffile%2FFile.php;h=cfbd062a351ae6cec9b6cfcce9c3c62ba6a4547c;hp=4e79de2d56109f20c0fe5aa09f3128bab912b4dd;hb=7babd362babcbf7f20adb8e12edb4f4bc1d4249f;hpb=6f680554ceb988f3895184167d5006d722a0afb3 diff --git a/includes/filerepo/file/File.php b/includes/filerepo/file/File.php index 4e79de2d56..cfbd062a35 100644 --- a/includes/filerepo/file/File.php +++ b/includes/filerepo/file/File.php @@ -148,7 +148,7 @@ abstract class File implements IDBAccessObject { protected $isSafeFile; /** @var string Required Repository class type */ - protected $repoClass = 'FileRepo'; + protected $repoClass = FileRepo::class; /** @var array Cache of tmp filepaths pointing to generated bucket thumbnails, keyed by width */ protected $tmpBucketedThumbCache = [];