dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
968d2b4
)
Followup r94211
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 11 Aug 2011 00:17:58 +0000
(
00:17
+0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 11 Aug 2011 00:17:58 +0000
(
00:17
+0000)
Bug 30315 - Declaration of FauxResponse::setcookie() should be compatible with that of WebResponse::setcookie()
includes/WebResponse.php
patch
|
blob
|
history
diff --git
a/includes/WebResponse.php
b/includes/WebResponse.php
index
39741e0
..
1101d75
100644
(file)
--- a/
includes/WebResponse.php
+++ b/
includes/WebResponse.php
@@
-135,7
+135,7
@@
class FauxResponse extends WebResponse {
* @param $value String: value to give cookie
* @param $expire Int: number of seconds til cookie expires
*/
- public function setcookie( $name, $value, $expire = 0 ) {
+ public function setcookie( $name, $value, $expire = 0
, $prefix = null, $domain = null
) {
$this->cookies[$name] = $value;
}