From: Sam Reed Date: Mon, 23 Aug 2010 22:18:05 +0000 (+0000) Subject: Remove some unneeded whitespace X-Git-Tag: 1.31.0-rc.0~35357 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=48a042cbf6c5afa0d088d1f5198aa09263442fa8;p=lhc%2Fweb%2Fwiklou.git Remove some unneeded whitespace --- diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index 66868572f5..f5e520a305 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -235,7 +235,7 @@ class ApiParse extends ApiBase { $scripts = array( $out->getHeadScripts( $userSkin ) ); - $result_array['headitems'] = array_merge( $headItems , $css, $scripts ); + $result_array['headitems'] = array_merge( $headItems, $css, $scripts ); } if ( isset( $prop['headhtml'] ) ) { diff --git a/includes/api/ApiQueryAllpages.php b/includes/api/ApiQueryAllpages.php index 761db977a1..17348887ea 100644 --- a/includes/api/ApiQueryAllpages.php +++ b/includes/api/ApiQueryAllpages.php @@ -76,7 +76,6 @@ class ApiQueryAllpages extends ApiQueryGeneratorBase { $to = ( is_null( $params['to'] ) ? null : $this->titlePartToKey( $params['to'] ) ); $this->addWhereRange( 'page_title', $dir, $from, $to ); - if ( isset( $params['prefix'] ) ) { $this->addWhere( 'page_title' . $db->buildLike( $this->titlePartToKey( $params['prefix'] ), $db->anyString() ) ); } diff --git a/includes/api/ApiQueryPageProps.php b/includes/api/ApiQueryPageProps.php index 1628492dd1..858f08a1e2 100644 --- a/includes/api/ApiQueryPageProps.php +++ b/includes/api/ApiQueryPageProps.php @@ -69,8 +69,6 @@ class ApiQueryPageProps extends ApiQueryBase { } } - - foreach ( $this->everything as $pageid => $title ) { $pageInfo = $this->extractPageInfo( $pageid, $title, $this->params['prop'] ); $fit = $result->addValue( array(