r78198 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78197‎ | r78198 | r78199 >
Date:16:30, 10 December 2010
Author:reedy
Status:deferred
Tags:
Comment:
Use parent::__construct()
Modified paths:
  • /trunk/extensions/WikiSync/WikiSyncApi.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiSync/WikiSyncApi.php
@@ -46,7 +46,7 @@
4747 // we construct like ApiBase, however we also use SQL select building methods from ApiQueryBase
4848 public function __construct( $mainModule, $moduleName, $modulePrefix = '' ) {
4949 // we call ApiBase only, ApiQueryBase is unsuitable to our needs
50 - ApiBase::__construct( $mainModule, $moduleName, $modulePrefix = '' );
 50+ parent::__construct( $mainModule, $moduleName, $modulePrefix );
5151 $this->mDb = null;
5252 $this->resetQueryParams();
5353 }

Status & tagging log