Remove redundant link 'Existing blocks for $1' because the blog log is shown since...
[lhc/web/wiklou.git] / includes / specials / SpecialBlockip.php
index eccf75d..19bb7a3 100644 (file)
@@ -811,22 +811,9 @@ class IPBlockForm extends SpecialPage {
         * @return string
         */
        private function getBlockListLink( $skin ) {
-               $list = SpecialPage::getTitleFor( 'Ipblocklist' );
-               $query = array();
-
-               if( $this->BlockAddress ) {
-                       $addr = strtr( $this->BlockAddress, '_', ' ' );
-                       $message = wfMsg( 'ipb-blocklist-addr', $addr );
-                       $query['ip'] = $this->BlockAddress;
-               } else {
-                       $message = wfMsg( 'ipb-blocklist' );
-               }
-
                return $skin->linkKnown(
-                       $list,
-                       htmlspecialchars( $message ),
-                       array(),
-                       $query
+                       SpecialPage::getTitleFor( 'Ipblocklist' ),
+                       wfMsg( 'ipb-blocklist' )
                );
        }