From: Aaron Schulz Date: Tue, 31 Jul 2018 00:16:49 +0000 (-0700) Subject: Avoid ChronologyProtector warnings in the web upgrader X-Git-Tag: 1.34.0-rc.0~4540^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/%24spUrl?a=commitdiff_plain;h=3fe91ae113c2689e029f837038dd0b6b87e0c4e5;p=lhc%2Fweb%2Fwiklou.git Avoid ChronologyProtector warnings in the web upgrader Bug: T196608 Change-Id: Ib7cb88dc9be7313cdd32b0161b8ad055a06d5e42 --- diff --git a/includes/libs/rdbms/lbfactory/LBFactory.php b/includes/libs/rdbms/lbfactory/LBFactory.php index e47e75e178..be1a8511dc 100644 --- a/includes/libs/rdbms/lbfactory/LBFactory.php +++ b/includes/libs/rdbms/lbfactory/LBFactory.php @@ -135,6 +135,7 @@ abstract class LBFactory implements ILBFactory { 'IPAddress' => $_SERVER[ 'REMOTE_ADDR' ] ?? '', 'UserAgent' => $_SERVER['HTTP_USER_AGENT'] ?? '', // Headers application can inject via LBFactory::setRequestInfo() + 'ChronologyProtection' => null, 'ChronologyClientId' => null, // prior $cpClientId value from LBFactory::shutdown() 'ChronologyPositionIndex' => null // prior $cpIndex value from LBFactory::shutdown() ];