From: Aaron Schulz Date: Mon, 23 Apr 2018 06:05:41 +0000 (-0700) Subject: rdbms: remove deprecated getLaggedSlaveMode() method alias X-Git-Tag: 1.34.0-rc.0~5630^2 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=19b71ac216b33e4864f8e912817ace022b179bac;p=lhc%2Fweb%2Fwiklou.git rdbms: remove deprecated getLaggedSlaveMode() method alias Change-Id: Iecdd39270d27ee1a2f9e1d714ec02c710fa241ef --- diff --git a/docs/database.txt b/docs/database.txt index dbc92044de..91b7e77a92 100644 --- a/docs/database.txt +++ b/docs/database.txt @@ -107,7 +107,7 @@ in the session, and then at the start of each request, waiting for the slave to catch up to that position before doing any reads from it. If this wait times out, reads are allowed anyway, but the request is considered to be in "lagged slave mode". Lagged slave mode can be -checked by calling wfGetLB()->getLaggedSlaveMode(). The only +checked by calling wfGetLB()->getLaggedReplicaMode(). The only practical consequence at present is a warning displayed in the page footer. diff --git a/includes/libs/rdbms/loadbalancer/LoadBalancer.php b/includes/libs/rdbms/loadbalancer/LoadBalancer.php index 01589ae4c2..bf0bbf6e08 100644 --- a/includes/libs/rdbms/loadbalancer/LoadBalancer.php +++ b/includes/libs/rdbms/loadbalancer/LoadBalancer.php @@ -1534,15 +1534,6 @@ class LoadBalancer implements ILoadBalancer { return $this->laggedReplicaMode; } - /** - * @param bool $domain - * @return bool - * @deprecated 1.28; use getLaggedReplicaMode() - */ - public function getLaggedSlaveMode( $domain = false ) { - return $this->getLaggedReplicaMode( $domain ); - } - public function laggedReplicaUsed() { return $this->laggedReplicaMode; }