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:
8a02a4b
)
Explicitly declare ApiFormatBase::initPrinter public
author
Siebrand Mazeland
<siebrand@kitano.nl>
Tue, 8 Mar 2016 07:30:25 +0000
(08:30 +0100)
committer
Anomie
<bjorsch@wikimedia.org>
Tue, 8 Mar 2016 16:11:31 +0000
(16:11 +0000)
It's overridden three times, and in all cases it's public.
Change-Id: I1712319076b38bbb5418c60b954e174354831be3
includes/api/ApiFormatBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFormatBase.php
b/includes/api/ApiFormatBase.php
index
7c203d9
..
c826bba
100644
(file)
--- a/
includes/api/ApiFormatBase.php
+++ b/
includes/api/ApiFormatBase.php
@@
-151,7
+151,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 = false ) {
+
public
function initPrinter( $unused = false ) {
if ( $this->mDisabled ) {
return;
}