Media: After [42695], remove redundant check that is already performed a few lines above.

Props gnif.
See #43255.

git-svn-id: https://develop.svn.wordpress.org/trunk@42702 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-02-11 21:54:23 +00:00
parent 9cde54cbda
commit a62a77eeb7
1 changed files with 1 additions and 3 deletions

View File

@ -409,9 +409,7 @@ abstract class WP_Image_Editor {
$fp = fopen( $filename, 'w' );
if ( ! $fp ) {
if ( $stream ) {
ob_end_clean();
}
ob_end_clean();
return false;
}