OC_Image::_output() - throw exception instead of falling back to png

remotes/origin/ldap_group_count
Georg Ehrke 10 years ago
parent 9dee3772eb
commit 3527adbbe1

@ -217,7 +217,7 @@ class OC_Image {
$imageType = IMAGETYPE_BMP;
break;
default:
$imageType = IMAGETYPE_PNG;
throw new Exception('\OC_Image::_output(): "' . $mimeType . '" is not supported when forcing a specific output format');
break;
}
} else {

Loading…
Cancel
Save