* (bug 2223) Add unique index on user_name field to prevent duplicate accounts
[lhc/web/wiklou.git] / includes / SpecialBlockip.php
index a46d70d..d5e58c6 100644 (file)
@@ -50,7 +50,7 @@ class IPBlockForm {
                global $wgRequest, $wgSysopUserBans;
 
                $wgOut->setPagetitle( htmlspecialchars( wfMsg( 'blockip' ) ) );
-               $wgOut->addWikiText( htmlspecialchars( wfMsg( 'blockiptext' ) ) );
+               $wgOut->addWikiText( wfMsg( 'blockiptext' ) );
 
                if($wgSysopUserBans) {
                        $mIpaddress = htmlspecialchars( wfMsg( 'ipadressorusername' ) );
@@ -165,12 +165,6 @@ class IPBlockForm {
 
                }
                
-
-               if ( $this->BlockReason == '') {
-                       $this->showForm( wfMsg( 'noblockreason' ) );
-                       return;
-               }
-               
                # Create block
                # Note: for a user block, ipb_address is only for display purposes