Revert part of r61382, unrelated change
This commit is contained in:
parent
07c5db7f40
commit
9bb7ee7fc9
1 changed files with 0 additions and 4 deletions
|
|
@ -133,10 +133,6 @@ class ImageListPager extends TablePager {
|
|||
$name = $this->mCurrentRow->img_name;
|
||||
$link = $this->getSkin()->linkKnown( Title::makeTitle( NS_FILE, $name ), $value );
|
||||
$image = wfLocalFile( $value );
|
||||
if( !$image ) {
|
||||
wfDebug( __METHOD__ . " was passed a bogus title '$value'" );
|
||||
return '';
|
||||
}
|
||||
$url = $image->getURL();
|
||||
$download = Xml::element('a', array( 'href' => $url ), $imgfile );
|
||||
return "$link ($download)";
|
||||
|
|
|
|||
Loading…
Reference in a new issue