From e642c5b21b98a101f22be628edb9286668cfcc22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Wed, 20 Jul 2005 21:20:45 +0000 Subject: [PATCH] * Exif::validate(): Using $this->debug() rather than wfDebug() --- includes/Exif.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Exif.php b/includes/Exif.php index ca35606d3c..b3bf3699bf 100644 --- a/includes/Exif.php +++ b/includes/Exif.php @@ -497,8 +497,7 @@ class Exif { case (string)MW_EXIF_SHORT.','.MW_EXIF_LONG: return $this->isShort( $val ) || $this->isLong( $val ); default: - wfDebug( ucfirst( __CLASS__ ) . '::' . __FUNCTION__ . - ": The tag '$tag' in unknown (type: " . gettype( $val ) . "; content: '$val')\n" ); + $this->debug( $val, __FUNCTION__, "The tag '$tag' is unknown" ); return false; } } -- 2.20.1