Page MenuHomePhabricator

foreignapi.patch

Authored By
bzimport
Nov 21 2014, 10:59 PM
Size
624 B
Referenced Files
None
Subscribers
None

foreignapi.patch

Index: includes/filerepo/ForeignAPIFile.php
===================================================================
--- includes/filerepo/ForeignAPIFile.php (revision 62543)
+++ includes/filerepo/ForeignAPIFile.php (working copy)
@@ -43,10 +43,7 @@
$this->getName(),
isset( $params['width'] ) ? $params['width'] : -1,
isset( $params['height'] ) ? $params['height'] : -1 );
- if( $thumbUrl ) {
- return $this->handler->getTransform( $this, 'bogus', $thumbUrl, $params );;
- }
- return false;
+ return $this->handler->getTransform( $this, 'bogus', $thumbUrl, $params );
}
// Info we can get from API...

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6066
Default Alt Text
foreignapi.patch (624 B)

Event Timeline