From: Ævar Arnfjörð Bjarmason Date: Wed, 20 Jul 2005 21:20:45 +0000 (+0000) Subject: * Exif::validate(): Using $this->debug() rather than wfDebug() X-Git-Tag: 1.5.0beta4~87 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;ds=sidebyside;h=e642c5b21b98a101f22be628edb9286668cfcc22;p=lhc%2Fweb%2Fwiklou.git * Exif::validate(): Using $this->debug() rather than wfDebug() --- 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; } }