X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiBase.php;h=6fe49261dacc7712f0eb597221db8dae3a409a03;hp=22202c0c11ed07c0098a3374792e2c57e47ca53f;hb=579319d960107d1d61b6778b11e359e7046ce10d;hpb=e41e39a3f50cbfa1153714ee5ff4b7ec763b6013 diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 22202c0c11..6fe49261da 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -692,7 +692,7 @@ abstract class ApiBase extends ContextSource { * Set the continuation manager * @param ApiContinuationManager|null $manager */ - public function setContinuationManager( $manager ) { + public function setContinuationManager( ApiContinuationManager $manager = null ) { // Main module has setContinuationManager() method overridden // Safety - avoid infinite loop: if ( $this->isMain() ) { @@ -2589,16 +2589,6 @@ abstract class ApiBase extends ContextSource { return false; } - /** - * @deprecated since 1.25, always returns empty string - * @param IDatabase|bool $db - * @return string - */ - public function getModuleProfileName( $db = false ) { - wfDeprecated( __METHOD__, '1.25' ); - return ''; - } - /** * @deprecated since 1.25 */ @@ -2622,15 +2612,6 @@ abstract class ApiBase extends ContextSource { wfDeprecated( __METHOD__, '1.25' ); } - /** - * @deprecated since 1.25, always returns 0 - * @return float - */ - public function getProfileTime() { - wfDeprecated( __METHOD__, '1.25' ); - return 0; - } - /** * @deprecated since 1.25 */ @@ -2645,15 +2626,6 @@ abstract class ApiBase extends ContextSource { wfDeprecated( __METHOD__, '1.25' ); } - /** - * @deprecated since 1.25, always returns 0 - * @return float - */ - public function getProfileDBTime() { - wfDeprecated( __METHOD__, '1.25' ); - return 0; - } - /** * Call wfTransactionalTimeLimit() if this request was POSTed * @since 1.26