From: jenkins-bot Date: Fri, 27 Sep 2019 18:35:44 +0000 (+0000) Subject: Merge "rdbms: Remove obsolete comment in LoadBalancerSingle" X-Git-Tag: 1.34.0-rc.0~71 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=3caa34017f2dafa15b605502d3be74851ae8e8d4;hp=3dbc58222c0270cedda17e5dfd397ffdf1d11ad9;p=lhc%2Fweb%2Fwiklou.git Merge "rdbms: Remove obsolete comment in LoadBalancerSingle" --- diff --git a/includes/libs/rdbms/loadbalancer/LoadBalancerSingle.php b/includes/libs/rdbms/loadbalancer/LoadBalancerSingle.php index 4c68833e7e..a3e57aefcf 100644 --- a/includes/libs/rdbms/loadbalancer/LoadBalancerSingle.php +++ b/includes/libs/rdbms/loadbalancer/LoadBalancerSingle.php @@ -27,11 +27,6 @@ use InvalidArgumentException; /** * Trivial LoadBalancer that always returns an injected connection handle. - * - * Note that, while this LoadBalancer does not open any connections itself, - * it still closes the injected connection at times, including during destruction. - * It is therefore unsuitable for use in tests unless you have a Database instance - * separate from the main test database (which is expected to stay open). */ class LoadBalancerSingle extends LoadBalancer { /** @var IDatabase */