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

This commit is contained in:
Georg Ehrke 2014-03-14 18:19:16 +01:00
parent 9dee3772eb
commit 3527adbbe1
1 changed files with 1 additions and 1 deletions

View File

@ -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 {