Merge "registration: Only allow one extension to set a specific config setting"
[lhc/web/wiklou.git] / includes / user / UserRightsProxy.php
index 98586e7..3c2731a 100644 (file)
@@ -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__
                );