From: Sam Reed Date: Sat, 16 Apr 2011 11:11:49 +0000 (+0000) Subject: Followup r86169, move unreachable debug statement X-Git-Tag: 1.31.0-rc.0~30792 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=5cdff32cd1041dc5b7e6555173591f29b84e0d4b;p=lhc%2Fweb%2Fwiklou.git Followup r86169, move unreachable debug statement --- diff --git a/includes/media/FormatMetadata.php b/includes/media/FormatMetadata.php index a68f9204cc..cd5cb40099 100644 --- a/includes/media/FormatMetadata.php +++ b/includes/media/FormatMetadata.php @@ -839,8 +839,8 @@ class FormatMetadata { return $vals[0]; } elseif ( count( $vals ) === 0 ) { - return ""; // paranoia. This should never happen wfDebug( __METHOD__ . ' metadata array with 0 elements!' ); + return ""; // paranoia. This should never happen } /* Fixme: This should hide some of the list entries if there are * say more than four. Especially if a field is translated into 20