X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FBlock.php;h=c6b948239c364035e5c5f98f96b22df381bcf403;hb=2cb5c8e0343e1c00e0f7302793191c099462c6d3;hp=58ef4488dde161dc576e0b1238a63063acd571a4;hpb=b0a3dd365325188fc6244f51844705a6fb308030;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Block.php b/includes/Block.php index 58ef4488dd..c6b948239c 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -2146,7 +2146,7 @@ class Block { * Check if the block prevents a user from resetting their password * * @since 1.33 - * @return bool|null The block blocks password reset + * @return bool The block blocks password reset */ public function appliesToPasswordReset() { switch ( $this->getSystemBlockType() ) { @@ -2159,7 +2159,7 @@ class Block { case 'wgSoftBlockRanges': return false; default: - return false; + return true; } }