]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/Block.php
MediaWiki 1.15.0
[autoinstallsdev/mediawiki.git] / includes / Block.php
index 2c2227e2e7593eb5a5ba004d552c8f03b6a9794e..a44941f13125cbe7e22a4994629b16d5d6ae5624 100644 (file)
@@ -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;
                }