r75163 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75162‎ | r75163 | r75164 >
Date:18:26, 21 October 2010
Author:hashar
Status:ok
Tags:
Comment:
Follow up r67073 : add curly to if statement
Modified paths:
  • /trunk/phase3/includes/AutoLoader.php (modified) (history)
  • /trunk/phase3/includes/Autopromote.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/AutoLoader.php
@@ -748,8 +748,9 @@
749749 }
750750
751751 if ( !$filename ) {
752 - if ( function_exists( 'wfDebug' ) )
 752+ if ( function_exists( 'wfDebug' ) ) {
753753 wfDebug( "Class {$className} not found; skipped loading\n" );
 754+ }
754755
755756 # Give up
756757 return false;
Index: trunk/phase3/includes/Autopromote.php
@@ -17,8 +17,9 @@
1818 $promote = array();
1919
2020 foreach ( $wgAutopromote as $group => $cond ) {
21 - if ( self::recCheckCondition( $cond, $user ) )
 21+ if ( self::recCheckCondition( $cond, $user ) ) {
2222 $promote[] = $group;
 23+ }
2324 }
2425
2526 wfRunHooks( 'GetAutoPromoteGroups', array( $user, &$promote ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r67073Ran stylize.php, removed trailing whitespace, updated indentation and code fo...siebrand14:48, 30 May 2010

Status & tagging log