Fix for r63000: remove the "!" in the check
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 26 Feb 2010 09:04:14 +0000 (09:04 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 26 Feb 2010 09:04:14 +0000 (09:04 +0000)
includes/GlobalFunctions.php

index 5d339fc..2c24af0 100644 (file)
@@ -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;