dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ba46449
)
Merge "block: Use correct function wfGetDB() as defined"
author
MaxSem
<maxsem.wiki@gmail.com>
Tue, 26 Mar 2019 05:26:38 +0000
(
05:26
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 26 Mar 2019 05:26:38 +0000
(
05:26
+0000)
includes/block/BlockRestriction.php
patch
|
blob
|
history
diff --git
a/includes/block/BlockRestriction.php
b/includes/block/BlockRestriction.php
index
b92cda8
..
cbd30c2
100644
(file)
--- a/
includes/block/BlockRestriction.php
+++ b/
includes/block/BlockRestriction.php
@@
-51,7
+51,7
@@
class BlockRestriction {
return [];
}
- $db = $db ?: wfGetD
b
( DB_REPLICA );
+ $db = $db ?: wfGetD
B
( DB_REPLICA );
$result = $db->select(
[ 'ipblocks_restrictions', 'page' ],
@@
-182,7
+182,7
@@
class BlockRestriction {
$parentBlockId = (int)$parentBlockId;
- $db = wfGetD
b
( DB_MASTER );
+ $db = wfGetD
B
( DB_MASTER );
$db->startAtomic( __METHOD__ );