From: Rob Church Date: Wed, 12 Jul 2006 12:05:26 +0000 (+0000) Subject: * Check the block against the master if we're going to wind up deleting stuff X-Git-Tag: 1.31.0-rc.0~56277 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=d36d799512cbbfecceb87668132688b3069e7d48;p=lhc%2Fweb%2Fwiklou.git * Check the block against the master if we're going to wind up deleting stuff --- diff --git a/includes/Article.php b/includes/Article.php index 1a66758397..52e491dc80 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1641,7 +1641,7 @@ class Article { # Check permissions if( $wgUser->isAllowed( 'delete' ) ) { - if( $wgUser->isBlocked() ) { + if( $wgUser->isBlocked( !$confirm ) ) { $wgOut->blockedPage(); return; }