From 9574e810065c0c2f75d039d9e9cb513814d4884b Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 2 Jun 2011 18:39:55 +0000 Subject: [PATCH] Followup r89348 Fix code style, and remove hint that variable may be multi --- includes/api/ApiQueryLogEvents.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/api/ApiQueryLogEvents.php b/includes/api/ApiQueryLogEvents.php index dd43f9b6f6..53972a7c6e 100644 --- a/includes/api/ApiQueryLogEvents.php +++ b/includes/api/ApiQueryLogEvents.php @@ -111,8 +111,7 @@ class ApiQueryLogEvents extends ApiQueryBase { list( $type, $action ) = explode( '/', $params['action'] ); $this->addWhereFld( 'log_type', $type ); $this->addWhereFld( 'log_action', $action ); - } - else if ( !is_null( $params['type'] ) ) { + } else if ( !is_null( $params['type'] ) ) { $this->addWhereFld( 'log_type', $params['type'] ); $index['logging'] = 'type_time'; } @@ -419,7 +418,7 @@ class ApiQueryLogEvents extends ApiQueryBase { ' details - Lists addtional details about the event', ' tags - Lists tags for the event', ), - 'type' => 'Filter log entries to only this type(s)', + 'type' => 'Filter log entries to only this type', 'action' => "Filter log actions to only this type. Overrides {$p}type", 'start' => 'The timestamp to start enumerating from', 'end' => 'The timestamp to end enumerating', -- 2.20.1