Set default for unused variable in ApiFormatBase
So that it can be left out when calling. Change-Id: I6137f5d57a12c0e52ad12b84428a82e8befae0c9
This commit is contained in:
parent
570a9bf4b6
commit
ed4d1a0847
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue