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:
3f3766b
)
FauxRequest now has empty data per default
author
Antoine Musso
<hashar@users.mediawiki.org>
Mon, 9 Jan 2012 10:42:44 +0000
(10:42 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Mon, 9 Jan 2012 10:42:44 +0000
(10:42 +0000)
includes/WebRequest.php
patch
|
blob
|
history
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
65fe0c7
..
af47d60
100644
(file)
--- a/
includes/WebRequest.php
+++ b/
includes/WebRequest.php
@@
-1199,7
+1199,7
@@
class FauxRequest extends WebRequest {
* @param $wasPosted Bool: whether to treat the data as POST
* @param $session Mixed: session array or null
*/
- public function __construct( $data, $wasPosted = false, $session = null ) {
+ public function __construct( $data
= array()
, $wasPosted = false, $session = null ) {
if( is_array( $data ) ) {
$this->data = $data;
} else {