Merge "wfDebugLog(): remove unused global"

This commit is contained in:
jenkins-bot 2014-11-04 21:17:30 +00:00 committed by Gerrit Code Review
commit fd92d3cd5f

View file

@ -1067,8 +1067,6 @@ function wfDebugMem( $exact = false ) {
* - false: same as 'private'
*/
function wfDebugLog( $logGroup, $text, $dest = 'all' ) {
global $wgDebugLogGroups;
// Turn $dest into a string if it's a boolean (for b/c)
if ( $dest === true ) {
$dest = 'all';