DAT-3934 remove comment

This commit is contained in:
idradm 2016-03-17 12:13:17 +01:00
parent cbc0a10a78
commit 8dd35e8146

View file

@ -170,7 +170,6 @@ class PortableInfoboxRenderServiceHelper {
*/
public function getThumbnailSizes( $preferredWidth, $maxHeight, $originalWidth, $originalHeight ) {
if ( ( $originalHeight / $originalWidth ) > ( $maxHeight / $preferredWidth ) ) {
// width should be
$height = min( $maxHeight, $originalHeight );
$width = min( $preferredWidth, $height * $originalWidth / $originalHeight );
} else {