X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Fsql.php;h=afa3ef725c79a8bc762de4dadfd00a03d24c9ff7;hb=dc66cfb452dd56afdca9a230c37a36b7105b1db7;hp=c947a4c36f230a2423339281458e1eb7c645297d;hpb=27f8aa732e55f0655255152fa22655fa07424c2d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/sql.php b/maintenance/sql.php index c947a4c36f..afa3ef725c 100644 --- a/maintenance/sql.php +++ b/maintenance/sql.php @@ -39,7 +39,7 @@ class MwSql extends Maintenance { } public function execute() { - $wiki = $this->getOption( 'wikidb' ) ? : false; + $wiki = $this->getOption( 'wikidb' ) ?: false; // Get the appropriate load balancer (for this wiki) if ( $this->hasOption( 'cluster' ) ) { $lb = wfGetLBFactory()->getExternalLB( $this->getOption( 'cluster' ), $wiki ); @@ -136,7 +136,7 @@ class MwSql extends Maintenance { /** * Print the results, callback for $db->sourceStream() * @param ResultWrapper $res The results object - * @param DatabaseBase $db object + * @param DatabaseBase $db */ public function sqlPrintResult( $res, $db ) { if ( !$res ) {