From e97c055e7450585c0a7299f129a1d26e2686edcc Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 26 Feb 2010 09:04:14 +0000 Subject: [PATCH] Fix for r63000: remove the "!" in the check --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 5d339fcd12..2c24af0465 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -496,7 +496,7 @@ function wfLogProfilingData() { global $wgRequestTime, $wgDebugLogFile, $wgDebugRawPage, $wgRequest; global $wgProfiler, $wgProfileLimit, $wgUser; # Profiling must actually be enabled... - if( !is_null( $wgProfiler ) ) return; + if( is_null( $wgProfiler ) ) return; # Get total page request time $now = wfTime(); $elapsed = $now - $wgRequestTime; -- 2.20.1