X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=includes%2Fprofiler%2FProfilerSimple.php;h=6f3b50c0f1fc4db3a5f7083febb98ba063452f56;hb=1f44669fd091a2ccf93fd67b4663bc4b1e06ae9d;hp=805c60f4b4a80dd820ca9e44fe64e87ee757b2b8;hpb=f947afc81e2eafbf65c9d79870d82528fcc849be;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/profiler/ProfilerSimple.php b/includes/profiler/ProfilerSimple.php index 805c60f4b4..6f3b50c0f1 100644 --- a/includes/profiler/ProfilerSimple.php +++ b/includes/profiler/ProfilerSimple.php @@ -113,21 +113,4 @@ class ProfilerSimple extends Profiler { public function logData() { /* Implement in subclasses */ } - - /** - * Get the actual CPU time or the initial one if $ru is set. - * - * @deprecated in 1.20 - * @return float|null - */ - function getCpuTime( $ru = null ) { - wfDeprecated( __METHOD__, '1.20' ); - - if ( $ru === null ) { - return $this->getTime( 'cpu' ); - } else { - # It theory we should use $ru here, but it always $wgRUstart that is passed here - return $this->getInitialTime( 'cpu' ); - } - } }