Pass in $join_conds
[lhc/web/wiklou.git] / includes / ProfilerSimple.php
index 479a92e..d3b8f45 100644 (file)
@@ -12,7 +12,7 @@ class ProfilerSimple extends Profiler {
        var $mProfileID = false;
 
        function __construct() {
-               global $wgRequestTime,$wgRUstart;
+               global $wgRequestTime, $wgRUstart;
                if (!empty($wgRequestTime) && !empty($wgRUstart)) {
                        $this->mWorkStack[] = array( '-total', 0, $wgRequestTime,$this->getCpuTime($wgRUstart));
 
@@ -119,10 +119,4 @@ class ProfilerSimple extends Profiler {
                list($a,$b)=explode(" ",$time);
                return (float)($a+$b);
        }
-
-       function debug( $s ) {
-               if (function_exists( 'wfDebug' ) ) {
-                       wfDebug( $s );
-               }
-       }
 }