X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fuser%2FUserRightsProxy.php;h=3c2731a7906ef6e8aaeb2e93e50373883e5ffbe2;hb=5af3ad33ed1b27bd5f77038c89844d513d078cba;hp=4df73f7328e19a12258051d2856193f1db505939;hpb=a6fe5967b3f4d797c24a0800b15adbc211b7056d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/user/UserRightsProxy.php b/includes/user/UserRightsProxy.php index 4df73f7328..3c2731a790 100644 --- a/includes/user/UserRightsProxy.php +++ b/includes/user/UserRightsProxy.php @@ -29,8 +29,6 @@ use Wikimedia\Rdbms\IDatabase; class UserRightsProxy { /** - * Constructor. - * * @see newFromId() * @see newFromName() * @param IDatabase $db Db connection @@ -279,11 +277,11 @@ class UserRightsProxy { __METHOD__ ); - $wikiId = $this->db->getWikiID(); + $domainId = $this->db->getDomainID(); $userId = $this->id; $this->db->onTransactionPreCommitOrIdle( - function () use ( $wikiId, $userId ) { - User::purge( $wikiId, $userId ); + function () use ( $domainId, $userId ) { + User::purge( $domainId, $userId ); }, __METHOD__ );