From: Matthew Flaschen Date: Sat, 23 Feb 2013 06:25:19 +0000 (-0500) Subject: Fix documentation error for $expire in WebResponse::setcookie. X-Git-Tag: 1.31.0-rc.0~20593 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=3f4e273a7b3d0f1611e2a3552fdeb283256b3bfb;p=lhc%2Fweb%2Fwiklou.git Fix documentation error for $expire in WebResponse::setcookie. Change-Id: I657ba9b722706d3c71a6fffa3f4b94d35d8de7c5 --- diff --git a/includes/WebResponse.php b/includes/WebResponse.php index 37dbef48c7..3862354aca 100644 --- a/includes/WebResponse.php +++ b/includes/WebResponse.php @@ -42,7 +42,8 @@ class WebResponse { * Set the browser cookie * @param $name String: name of cookie * @param $value String: value to give cookie - * @param $expire Int: number of seconds til cookie expires + * @param $expire Int: Unix timestamp (in seconds) when the cookie should expire. + * 0 (the default) causes it to expire $wgCookieExpiration seconds from now. * @param $prefix String: Prefix to use, if not $wgCookiePrefix (use '' for no prefix) * @param $domain String: Cookie domain to use, if not $wgCookieDomain * @param $forceSecure Bool: