Remove unused code
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 23 Jan 2009 18:03:02 +0000 (18:03 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 23 Jan 2009 18:03:02 +0000 (18:03 +0000)
includes/parser/Parser.php

index 07d449e..c37c48e 100644 (file)
@@ -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 &ouml; aren't valid in URLs anyway