Move some braces to match coding styles
authorSam Reed <reedy@users.mediawiki.org>
Mon, 10 May 2010 17:12:09 +0000 (17:12 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 10 May 2010 17:12:09 +0000 (17:12 +0000)
includes/api/ApiQueryRevisions.php

index b023fe7..54f124b 100644 (file)
@@ -209,8 +209,7 @@ class ApiQueryRevisions extends ApiQueryBase {
 
                if ( $enumRevMode ) {
                        // This is mostly to prevent parameter errors (and optimize SQL?)
-                       if ( !is_null( $params['startid'] ) && !is_null( $params['start'] ) )
-                       {
+                       if ( !is_null( $params['startid'] ) && !is_null( $params['start'] ) ) {
                                $this->dieUsage( 'start and startid cannot be used together', 'badparams' );
                        }
 
@@ -218,8 +217,7 @@ class ApiQueryRevisions extends ApiQueryBase {
                                $this->dieUsage( 'end and endid cannot be used together', 'badparams' );
                        }
 
-                       if ( !is_null( $params['user'] ) && !is_null( $params['excludeuser'] ) )
-                       {
+                       if ( !is_null( $params['user'] ) && !is_null( $params['excludeuser'] ) ) {
                                $this->dieUsage( 'user and excludeuser cannot be used together', 'badparams' );
                        }