Note: I can't reproduce the issue or verify this patch.
Bug: 38989
Change-Id: I314cf2328d6f9481a4f2cf12e6ea78f5aeef38ec
}
$targetUser = $status->value;
}
$targetUser = $status->value;
+ $targetUser->clearInstanceCache();
if ( $request->getVal( 'conflictcheck-originalgroups' ) !== implode( ',', $targetUser->getGroups() ) ) {
$out->addWikiMsg( 'userrights-conflict' );
if ( $request->getVal( 'conflictcheck-originalgroups' ) !== implode( ',', $targetUser->getGroups() ) ) {
$out->addWikiMsg( 'userrights-conflict' );