From 9835eeaec0116c10cc4c643a0e6d2393ec25f251 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 10 Dec 2013 14:29:06 -0800 Subject: [PATCH] Update FSRepo to avoid the deprecated FileBackend construction style Change-Id: Iaa8d57e22750582eb95e4abab7444ff291807416 --- includes/filerepo/FSRepo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/filerepo/FSRepo.php b/includes/filerepo/FSRepo.php index edf0eec463..5896aba1ae 100644 --- a/includes/filerepo/FSRepo.php +++ b/includes/filerepo/FSRepo.php @@ -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", -- 2.20.1