From: Aryeh Gregor Date: Fri, 23 Jan 2009 18:03:02 +0000 (+0000) Subject: Remove unused code X-Git-Tag: 1.31.0-rc.0~43294 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=93675d4e20bf192ea33a98581eceb7347e4b94a4;p=lhc%2Fweb%2Fwiklou.git Remove unused code --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 07d449e2d3..c37c48e3dc 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1406,12 +1406,6 @@ class Parser $url = Sanitizer::cleanUrl( $url ); - if ( $this->mOptions->mExternalLinkTarget ) { - $attribs = array( 'target' => $this->mOptions->mExternalLinkTarget ); - } else { - $attribs = array(); - } - # Use the encoded URL # This means that users can paste URLs directly into the text # Funny characters like ö aren't valid in URLs anyway