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=faf7cc4a09848c538320bd2b9067b1a77c0a0183;hpb=bc6ed2ba24a8691ad6d6cc321a43720bcfb770e2 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 = [];