dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "registration: Only allow one extension to set a specific config setting"
[lhc/web/wiklou.git]
/
includes
/
user
/
UserRightsProxy.php
diff --git
a/includes/user/UserRightsProxy.php
b/includes/user/UserRightsProxy.php
index
d801fa0
..
3c2731a
100644
(file)
--- a/
includes/user/UserRightsProxy.php
+++ b/
includes/user/UserRightsProxy.php
@@
-20,6
+20,8
@@
* @file
*/
* @file
*/
+use Wikimedia\Rdbms\IDatabase;
+
/**
* Cut-down copy of User interface for local-interwiki-database
* user rights manipulation.
/**
* Cut-down copy of User interface for local-interwiki-database
* user rights manipulation.
@@
-27,8
+29,6
@@
class UserRightsProxy {
/**
class UserRightsProxy {
/**
- * Constructor.
- *
* @see newFromId()
* @see newFromName()
* @param IDatabase $db Db connection
* @see newFromId()
* @see newFromName()
* @param IDatabase $db Db connection
@@
-277,11
+277,11
@@
class UserRightsProxy {
__METHOD__
);
__METHOD__
);
- $
wikiId = $this->db->getWiki
ID();
+ $
domainId = $this->db->getDomain
ID();
$userId = $this->id;
$this->db->onTransactionPreCommitOrIdle(
$userId = $this->id;
$this->db->onTransactionPreCommitOrIdle(
- function () use ( $
wiki
Id, $userId ) {
- User::purge( $
wiki
Id, $userId );
+ function () use ( $
domain
Id, $userId ) {
+ User::purge( $
domain
Id, $userId );
},
__METHOD__
);
},
__METHOD__
);