From: Aaron Schulz Date: Fri, 5 Apr 2019 04:20:26 +0000 (-0700) Subject: rdbms: rename DB server index parameter to LoadBalancer::getMaintenanceConnectionRef() X-Git-Tag: 1.34.0-rc.0~2137^2 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=1f5c0bb8ec4d2f2ce4c04618da94e3f7f9dd47a6;p=lhc%2Fweb%2Fwiklou.git rdbms: rename DB server index parameter to LoadBalancer::getMaintenanceConnectionRef() Change-Id: I4a7a72f8cf61a0cc21d88cbb62614221f42e0540 --- diff --git a/includes/libs/rdbms/loadbalancer/ILoadBalancer.php b/includes/libs/rdbms/loadbalancer/ILoadBalancer.php index b20bf04e45..0130c55018 100644 --- a/includes/libs/rdbms/loadbalancer/ILoadBalancer.php +++ b/includes/libs/rdbms/loadbalancer/ILoadBalancer.php @@ -291,13 +291,13 @@ interface ILoadBalancer { * * @see ILoadBalancer::getConnection() for parameter information * - * @param int $db Server index or DB_MASTER/DB_REPLICA + * @param int $i Server index or DB_MASTER/DB_REPLICA * @param array|string|bool $groups Query group(s), or false for the generic reader * @param string|bool $domain Domain ID, or false for the current domain * @param int $flags Bitfield of CONN_* class constants (e.g. CONN_TRX_AUTOCOMMIT) * @return MaintainableDBConnRef */ - public function getMaintenanceConnectionRef( $db, $groups = [], $domain = false, $flags = 0 ); + public function getMaintenanceConnectionRef( $i, $groups = [], $domain = false, $flags = 0 ); /** * Open a connection to the server given by the specified index