refactoring

This commit is contained in:
Diana 2015-05-22 16:30:33 +00:00
parent 72c1fd06ab
commit ff623260e7

View file

@ -202,7 +202,7 @@ class PortableInfoboxRenderService extends WikiaService {
*/
private function createOldThumbnail( $name )
{
$file = $this->wfFindFile( $name );
$file = wfFindFile( $name );
if ( $file ) {
return $file->createThumb(
F::app()->checkSkin('wikiamobile') ?