Fixed call to undefined method in TransactionProfiler
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 26 Apr 2014 23:20:17 +0000 (16:20 -0700)
committerOri.livneh <ori@wikimedia.org>
Mon, 28 Apr 2014 17:57:55 +0000 (17:57 +0000)
Change-Id: I855b514f8b63c7e81935b13df4612f09628142b3

includes/profiler/Profiler.php

index 7f63bb2..b709498 100644 (file)
@@ -431,7 +431,7 @@ class TransactionProfiler {
                                        list( $method, $realtime ) = $info;
                                        $msg .= sprintf( "%d\t%.6f\t%s\n", $i, $realtime, $method );
                                }
-                               $this->debugGroup( 'DBPerformance', $msg );
+                               wfDebugLog( 'DBPerformance', $msg );
                        }
                        unset( $this->mDBTrxHoldingLocks[$name] );
                        unset( $this->mDBTrxMethodTimes[$name] );