From: Chad Horohoe Date: Fri, 22 Jan 2010 19:50:37 +0000 (+0000) Subject: Revert part of r61382, unrelated change X-Git-Tag: 1.31.0-rc.0~38158 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=9bb7ee7fc987daecb421e6fff314c6ce64f7b4e8;p=lhc%2Fweb%2Fwiklou.git Revert part of r61382, unrelated change --- diff --git a/includes/specials/SpecialListfiles.php b/includes/specials/SpecialListfiles.php index 463be895e4..788009764f 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -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)";