* code formatting
[lhc/web/wiklou.git] / includes / LoadBalancer.php
index edc1fad..40b4613 100644 (file)
@@ -159,9 +159,8 @@ class LoadBalancer {
         *
         * Side effect: opens connections to databases
         */
-       function getReaderIndex()
-       {
-               global $wgMaxLag, $wgReadOnly, $wgDBClusterTimeout;
+       function getReaderIndex() {
+               global $wgReadOnly, $wgDBClusterTimeout;
 
                $fname = 'LoadBalancer::getReaderIndex';
                wfProfileIn( $fname );