Deprecated in 1.20, in change I12d1bcb43. I couldn't find any callers.
Change-Id: Ia5a6e02ae3a4bd749c9c7ee9fb32f708b0a3b513
- Linker::makeBrokenLinkObj() (deprecated in 1.16)
- Linker::makeColouredLinkObj() (deprecated in 1.16)
- Linker::makeSizeLinkObj() (deprecated in 1.17)
+ - ProfilerSimple::getCpuTime (deprecated in 1.20)
- Revision::revText() (deprecated in 1.17)
- SkinTemplate::jstext() (deprecated in 1.21)
- SpecialRevisionDelete::extractBitField() (deprecated in 1.22)
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' );
- }
- }
}