PHPSessionHandler: Suppress warnings in initialize()
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 13 Jun 2018 13:51:57 +0000 (09:51 -0400)
committerReedy <reedy@wikimedia.org>
Mon, 30 Jul 2018 00:37:55 +0000 (01:37 +0100)
commit43ee1abaca625261f5caae501bf9b10b54bc2e30
treeb82d555c72f1593b4119421daec6d88177c8cd7e
parentb718b8926c061b9fa1253c24e9d094e039791ea7
PHPSessionHandler: Suppress warnings in initialize()

PHP 7.2 has gotten strict about calling various session-related methods
after headers were sent. Even in CLI mode where there are no headers to
send in the first place. Silence these warnings.

Bug: T197030
Change-Id: Idaabf1320c56e0d6c26387f03af05f32e1496a1c
(cherry picked from commit 701854b3ebc3c2b06067823395a7d95e8984cfda)
RELEASE-NOTES-1.31
includes/session/PHPSessionHandler.php