dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d485c8
)
Update FSRepo to avoid the deprecated FileBackend construction style
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 10 Dec 2013 22:29:06 +0000
(14:29 -0800)
committer
BryanDavis
<bdavis@wikimedia.org>
Thu, 12 Dec 2013 23:39:26 +0000
(23:39 +0000)
Change-Id: Iaa8d57e22750582eb95e4abab7444ff291807416
includes/filerepo/FSRepo.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/FSRepo.php
b/includes/filerepo/FSRepo.php
index
edf0eec
..
5896aba
100644
(file)
--- 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",