From 19b0ea60daad3f3f0eaa142f2a7ac77fb2e8476a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sun, 8 May 2005 21:03:03 +0000 Subject: [PATCH] * Removed the wfSuppressWarnings() I inserted previously --- includes/Image.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/Image.php b/includes/Image.php index 0384895338..ac4ec10a11 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -1145,15 +1145,10 @@ class Image $exif = exif_read_data( $this->imagePath ); - // Some of the type checks in validate will spew warnings on invalid data - #$obj = new Exif; - wfSuppressWarnings(); foreach($exif as $k => $v) { if ( !in_array($k, $this->exif->mValidExif) || !$this->exif->validate($k, $v) ) unset($exif[$k]); } - wfRestoreWarnings(); - return $exif; } -- 2.20.1