Merge "Revert "rdbms: make LoadBalancer::reallyOpenConnection() handle setting DBO_TRX""
[lhc/web/wiklou.git] / includes / libs / rdbms / lbfactory / LBFactory.php
index 9efb1ad..77467f0 100644 (file)
@@ -155,9 +155,8 @@ abstract class LBFactory implements ILBFactory {
                $this->defaultGroup = $conf['defaultGroup'] ?? null;
                $this->secret = $conf['secret'] ?? '';
 
-               static $nextId, $nextTicket;
-               $this->id = $nextId = ( is_int( $nextId ) ? $nextId++ : mt_rand() );
-               $this->ticket = $nextTicket = ( is_int( $nextTicket ) ? $nextTicket++ : mt_rand() );
+               $this->id = mt_rand();
+               $this->ticket = mt_rand();
        }
 
        public function destroy() {