Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6526
foreignapi.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:59 PM
2014-11-21 22:59:46 (UTC+0)
Size
624 B
Referenced Files
None
Subscribers
None
foreignapi.patch
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6066
Default Alt Text
foreignapi.patch (624 B)
Attached To
Mode
T24537: ForeignAPIRepo doesn't handle files that have no preview
Attached
Detach File
Event Timeline
Log In to Comment