From 6966ffb95ec08ce4f1645f57a741dfdfd8b0a1db Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 17 Jul 2006 06:28:06 +0000 Subject: [PATCH] * Fix regression which allowed some blocked users to create additional accounts --- RELEASE-NOTES | 2 ++ includes/Block.php | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 29e783b6f6..04ae429a48 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -68,6 +68,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Improve default value of "blockedtext" * (bug 6680) Added localisation for Dutch bookstore list (nl) * Renamed maintainace script redundanttrans.php to unusedMessages.php - clearer usage +* Fix regression which allowed some blocked users to create additional accounts + == Languages updated == diff --git a/includes/Block.php b/includes/Block.php index 543e972ce2..b11df22c9f 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -359,10 +359,9 @@ class Block $dbw =& wfGetDB( DB_MASTER ); $dbw->begin(); - # Unset ipb_anon_only and ipb_create_account for user blocks, makes no sense + # Unset ipb_anon_only for user blocks, makes no sense if ( $this->mUser ) { $this->mAnonOnly = 0; - $this->mCreateAccount = 0; } # Don't collide with expired blocks -- 2.20.1