X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FFSRepo.php;h=edf0eec46360d0a9e79706c3b5e8f2e4bb57b7c3;hb=43605121f8bbae53e1b0c177a1352d33bfb20512;hp=e49f37d28013ca4398435d1002b5a7ae578ab564;hpb=fd03fa28251c84b00c9d623d8b3461add7887904;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/FSRepo.php b/includes/filerepo/FSRepo.php index e49f37d280..edf0eec463 100644 --- a/includes/filerepo/FSRepo.php +++ b/includes/filerepo/FSRepo.php @@ -31,9 +31,8 @@ * @deprecated since 1.19 */ class FSRepo extends FileRepo { - /** - * @param $info array + * @param array $info * @throws MWException */ function __construct( array $info ) { @@ -56,16 +55,16 @@ class FSRepo extends FileRepo { $repoName = $info['name']; // Get the FS backend configuration $backend = new FSFileBackend( array( - 'name' => $info['name'] . '-backend', - 'lockManager' => 'fsLockManager', + 'name' => $info['name'] . '-backend', + 'lockManager' => 'fsLockManager', 'containerPaths' => array( - "{$repoName}-public" => "{$directory}", - "{$repoName}-temp" => "{$directory}/temp", - "{$repoName}-thumb" => $thumbDir, - "{$repoName}-transcoded" => $transcodedDir, + "{$repoName}-public" => "{$directory}", + "{$repoName}-temp" => "{$directory}/temp", + "{$repoName}-thumb" => $thumbDir, + "{$repoName}-transcoded" => $transcodedDir, "{$repoName}-deleted" => $deletedDir ), - 'fileMode' => $fileMode, + 'fileMode' => $fileMode, ) ); // Update repo config to use this backend $info['backend'] = $backend;