Fixed $wgCookieExpiration functionality when set to 0.
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Tue, 30 Apr 2013 17:07:40 +0000 (13:07 -0400)
committerMatmarex <matma.rex@gmail.com>
Wed, 3 Jul 2013 17:35:02 +0000 (17:35 +0000)
commitc2c40b2b9b18457de40f7bda43c4f32edea05275
tree6ade619dda8b32f73e0cf9d87a3e02ad8c4a7202
parent6c17c2ab4e0cb5d1b7a809e559eb2b80a0b29056
Fixed $wgCookieExpiration functionality when set to 0.

When $wgCookieExpiration is set to 0, cookies should
by default expire when the browser closes. However,
MediaWiki accidentally interpreted this as the cookies
expiring 0 seconds from the request time.

Bug: 47886
Change-Id: Ib988ad18574122a56b0d11c8888c7c41d94dea6e
includes/WebResponse.php