// their own talk page unless a restriction exists on the
// page or User_talk: namespace
wfSetVar( $this->allowUsertalk, $x === null ? null : !$x );
- $res = !$this->isUserTalkEditAllowed();
+ $res = !$this->isUsertalkEditAllowed();
// edit own user talk can be disabled by config
if ( !$blockAllowsUTEdit ) {
* 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() ) {
case 'wgSoftBlockRanges':
return false;
default:
- return false;
+ return true;
}
}