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:
f272de7
)
Make declaration of ApiFormatRaw compatible with ApiFormatBase
author
Marius Hoch
<hoo@online.de>
Fri, 17 Oct 2014 19:16:58 +0000
(21:16 +0200)
committer
Marius Hoch
<hoo@online.de>
Fri, 17 Oct 2014 19:16:58 +0000
(21:16 +0200)
This was causing PHP warnings.
Change-Id: I96f66672756be3c09c20aea053f8a29241f56a19
includes/api/ApiFormatRaw.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFormatRaw.php
b/includes/api/ApiFormatRaw.php
index
235fca1
..
81d2f4f
100644
(file)
--- a/
includes/api/ApiFormatRaw.php
+++ b/
includes/api/ApiFormatRaw.php
@@
-55,7
+55,7
@@
class ApiFormatRaw extends ApiFormatBase {
return $data['mime'];
}
- public function initPrinter( $unused ) {
+ public function initPrinter( $unused
= false
) {
$data = $this->getResultData();
if ( isset( $data['error'] ) ) {
$this->errorFallback->initPrinter( $unused );