From: Lucas Werkmeister Date: Thu, 26 Sep 2019 15:49:48 +0000 (+0200) Subject: rdbms: Remove obsolete comment in LoadBalancerSingle X-Git-Tag: 1.34.0-rc.0~71^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=f4a5de374068b712992d8ca273c5db15b8041dd0;p=lhc%2Fweb%2Fwiklou.git rdbms: Remove obsolete comment in LoadBalancerSingle This comment was added in commit 0b583944e4, but later rendered obsolete by commit 143333b172. Change-Id: I1a64ab75a9883a88d5767722e27724520f8a0dcc --- 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 */