Using a better method to get the English language file.
[lhc/web/wiklou.git] / includes / Block.php
index 543e972..b11df22 100644 (file)
@@ -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