X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/74c929b24b048c9f1e31e17db757ae4195cd7673..dc9cc5d707f5a612938cc9371614cc41c328fda2:/includes/Block.php diff --git a/includes/Block.php b/includes/Block.php index 2c2227e2..a44941f1 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -105,6 +105,7 @@ class Block { && $this->mHideName == $block->mHideName && $this->mBlockEmail == $block->mBlockEmail && $this->mAllowUsertalk == $block->mAllowUsertalk + && $this->mReason == $block->mReason ); } @@ -570,7 +571,7 @@ class Block { ## Allow hooks to cancel the autoblock. if (!wfRunHooks( 'AbortAutoblock', array( $autoblockIP, &$this ) )) { - wfDebug( "Autoblock aborted by hook." ); + wfDebug( "Autoblock aborted by hook.\n" ); return false; }