dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make declaration of ApiFormatRaw compatible with ApiFormatBase
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiFormatRaw.php
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 );