From: Platonides Date: Tue, 10 Aug 2010 19:32:49 +0000 (+0000) Subject: Upgrade the warning from wfDebug to wfWarn. X-Git-Tag: 1.31.0-rc.0~35560 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=48c2ecd244aefe35f2de8b4b26ea4f1e324e04ee;p=lhc%2Fweb%2Fwiklou.git Upgrade the warning from wfDebug to wfWarn. --- diff --git a/includes/parser/ParserCache.php b/includes/parser/ParserCache.php index 61cb9ecbbe..00665a1ee2 100644 --- a/includes/parser/ParserCache.php +++ b/includes/parser/ParserCache.php @@ -79,7 +79,7 @@ class ParserCache { global $wgCacheEpoch; if( $popts instanceof User ) { - wfDebug( "Use of outdated prototype ParserCache::getKey( &\$article, &\$user )\n" ); + wfWarn( "Use of outdated prototype ParserCache::getKey( &\$article, &\$user )\n" ); $popts = ParserOptions::newFromUser( $popts ); }