mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-11-15 10:25:09 +00:00
Remove redundant line
This commit is contained in:
parent
9357918e5d
commit
899287ffaa
|
@ -290,7 +290,6 @@ class ImageMap {
|
|||
$output .= preg_replace( '/<\?xml[^?]*\?>/', '', $domDoc->saveXML() );
|
||||
|
||||
# Register links
|
||||
$parser->mOutput->addImage( $imageTitle->getDBkey() );
|
||||
foreach ( $links as $title ) {
|
||||
if( $title->isExternal() || $title->getNamespace() == NS_SPECIAL ) {
|
||||
// Don't register special or interwiki links...
|
||||
|
|
Loading…
Reference in a new issue