From be9a5b28a65a060dc362288375d7bf4c38fc70d2 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 10 May 2010 17:12:09 +0000 Subject: [PATCH] Move some braces to match coding styles --- includes/api/ApiQueryRevisions.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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' ); } -- 2.20.1