From: Sam Reed Date: Mon, 10 May 2010 17:12:09 +0000 (+0000) Subject: Move some braces to match coding styles X-Git-Tag: 1.31.0-rc.0~36900 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=be9a5b28a65a060dc362288375d7bf4c38fc70d2;p=lhc%2Fweb%2Fwiklou.git Move some braces to match coding styles --- diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index b023fe71cb..54f124b10c 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -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' ); }