X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fuser%2FUserRightsProxy.php;h=3c2731a7906ef6e8aaeb2e93e50373883e5ffbe2;hb=5fa4cdf860c79b32ab6ef034c6d9420c2727f695;hp=98586e76c7d9f03e54833a4c2b2e53e2d0316c1a;hpb=598a250b71aee0ca14eb8661b139bb23cf8e5f40;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/user/UserRightsProxy.php b/includes/user/UserRightsProxy.php index 98586e76c7..3c2731a790 100644 --- a/includes/user/UserRightsProxy.php +++ b/includes/user/UserRightsProxy.php @@ -277,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__ );