Merge "Fix SpecialBlock validation for ipb_allow_usertalk"
[lhc/web/wiklou.git] / includes / specials / SpecialBlock.php
index a55a9c8..b2161db 100644 (file)
@@ -1138,8 +1138,6 @@ class SpecialBlock extends FormSpecialPage {
                if ( $performer->getBlock() ) {
                        if ( $target instanceof User && $target->getId() == $performer->getId() ) {
                                # User is trying to unblock themselves
-                               // @TODO Ensure that the block does not apply to the `unblockself`
-                               //       right.
                                if ( $performer->isAllowed( 'unblockself' ) ) {
                                        return true;
                                        # User blocked themselves and is now trying to reverse it