From: Aaron Schulz Date: Tue, 16 Sep 2008 10:39:30 +0000 (+0000) Subject: whitespace tweaks X-Git-Tag: 1.31.0-rc.0~45271 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=d09a670dcf93a29b7709180affd8c24363d5290b;p=lhc%2Fweb%2Fwiklou.git whitespace tweaks --- diff --git a/includes/Article.php b/includes/Article.php index 806a3d0761..055cdedf15 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1636,8 +1636,7 @@ class Article { # If we haven't been given an rc_id value, we can't do anything $rcid = (int) $wgRequest->getVal('rcid'); $rc = RecentChange::newFromId($rcid); - if (is_null($rc)) - { + if ( is_null($rc) ) { $wgOut->showErrorPage( 'markedaspatrollederror', 'markedaspatrollederrortext' ); return; } @@ -1647,25 +1646,24 @@ class Article { $return = Title::makeTitle( NS_SPECIAL, $returnto ); $errors = $rc->doMarkPatrolled(); - if (in_array(array('rcpatroldisabled'), $errors)) { + if ( in_array(array('rcpatroldisabled'), $errors) ) { $wgOut->showErrorPage( 'rcpatroldisabled', 'rcpatroldisabledtext' ); return; } - if (in_array(array('hookaborted'), $errors)) { + if ( in_array(array('hookaborted'), $errors) ) { // The hook itself has handled any output return; } - if (in_array(array('markedaspatrollederror-noautopatrol'), $errors)) { + if ( in_array(array('markedaspatrollederror-noautopatrol'), $errors) ) { $wgOut->setPageTitle( wfMsg( 'markedaspatrollederror' ) ); $wgOut->addWikiMsg( 'markedaspatrollederror-noautopatrol' ); $wgOut->returnToMain( false, $return ); return; } - if (!empty($errors)) - { + if ( !empty($errors) ) { $wgOut->showPermissionsErrorPage( $errors ); return; }