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:
570a9bf
)
Set default for unused variable in ApiFormatBase
author
Marius Hoch
<hoo@online.de>
Tue, 14 Oct 2014 00:57:32 +0000
(
02:57
+0200)
committer
Marius Hoch
<hoo@online.de>
Tue, 14 Oct 2014 00:57:32 +0000
(
02:57
+0200)
So that it can be left out when calling.
Change-Id: I6137f5d57a12c0e52ad12b84428a82e8befae0c9
includes/api/ApiFormatBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFormatBase.php
b/includes/api/ApiFormatBase.php
index
1baaaec
..
7a08ed7
100644
(file)
--- a/
includes/api/ApiFormatBase.php
+++ b/
includes/api/ApiFormatBase.php
@@
-119,7
+119,7
@@
abstract class ApiFormatBase extends ApiBase {
* Initialize the printer function and prepare the output headers.
* @param bool $unused Always false since 1.25
*/
- function initPrinter( $unused ) {
+ function initPrinter( $unused
= false
) {
if ( $this->mDisabled ) {
return;
}