Remove unused private ConnectionManager::getConnectionRef

This is unused since 2ed69b7c69.

Change-Id: I57e97d569d53ff7d37bb6afb0597075e42912fc0
This commit is contained in:
Marius Hoch 2024-02-08 11:38:09 +01:00
parent 0c1030d0e2
commit e73f28e25f

View file

@ -78,16 +78,6 @@ class ConnectionManager {
return $this->loadBalancer->getConnection( $i, $groups, $this->domain, $flags );
}
/**
* @param int $i
* @param string[]|null $groups
* @return DBConnRef
*/
private function getConnectionRef( $i, array $groups = null ) {
$groups ??= $this->groups;
return $this->loadBalancer->getConnectionRef( $i, $groups, $this->domain );
}
/**
* Returns a connection to the primary DB, for updating.
*