rdbms: remove deprecated getLaggedSlaveMode() method alias
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 23 Apr 2018 06:05:41 +0000 (23:05 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 23 Apr 2018 19:57:10 +0000 (12:57 -0700)
Change-Id: Iecdd39270d27ee1a2f9e1d714ec02c710fa241ef

docs/database.txt
includes/libs/rdbms/loadbalancer/LoadBalancer.php

index dbc9204..91b7e77 100644 (file)
@@ -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.
 
index 01589ae..bf0bbf6 100644 (file)
@@ -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;
        }