X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FFSRepo.php;h=5896aba1ae914ea2d3192a5f1c00f4536418e0c2;hb=076f3aad755692d0893b25373e0f0973061d8834;hp=046b97c6bbf9842f491ca8c31dc55108cecd6e0d;hpb=30cca9fe5c37903ee342851afec811a4fe54e933;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/FSRepo.php b/includes/filerepo/FSRepo.php index 046b97c6bb..5896aba1ae 100644 --- a/includes/filerepo/FSRepo.php +++ b/includes/filerepo/FSRepo.php @@ -32,7 +32,7 @@ */ class FSRepo extends FileRepo { /** - * @param $info array + * @param array $info * @throws MWException */ function __construct( array $info ) { @@ -56,7 +56,8 @@ class FSRepo extends FileRepo { // Get the FS backend configuration $backend = new FSFileBackend( array( 'name' => $info['name'] . '-backend', - 'lockManager' => 'fsLockManager', + 'wikiId' => wfWikiID(), + 'lockManager' => LockManagerGroup::singleton( wfWikiID() )->get( 'fsLockManager' ), 'containerPaths' => array( "{$repoName}-public" => "{$directory}", "{$repoName}-temp" => "{$directory}/temp",