... and user still has a block cookie set.
Bug: T151097
Change-Id: I5a2fdc53250f629579428efbed39f6fb1f1531f3
// If the block is not valid, clear the block cookie (but don't delete it,
// because it needs to be cleared from LocalStorage as well and an empty string
// value is checked for in the mediawiki.user.blockcookie module).
- $block->setCookie( $this->getRequest()->response(), true );
+ $tmpBlock->setCookie( $this->getRequest()->response(), true );
}
}
}