Index: trunk/phase3/includes/AutoLoader.php |
— | — | @@ -748,8 +748,9 @@ |
749 | 749 | } |
750 | 750 | |
751 | 751 | if ( !$filename ) { |
752 | | - if ( function_exists( 'wfDebug' ) ) |
| 752 | + if ( function_exists( 'wfDebug' ) ) { |
753 | 753 | wfDebug( "Class {$className} not found; skipped loading\n" ); |
| 754 | + } |
754 | 755 | |
755 | 756 | # Give up |
756 | 757 | return false; |
Index: trunk/phase3/includes/Autopromote.php |
— | — | @@ -17,8 +17,9 @@ |
18 | 18 | $promote = array(); |
19 | 19 | |
20 | 20 | foreach ( $wgAutopromote as $group => $cond ) { |
21 | | - if ( self::recCheckCondition( $cond, $user ) ) |
| 21 | + if ( self::recCheckCondition( $cond, $user ) ) { |
22 | 22 | $promote[] = $group; |
| 23 | + } |
23 | 24 | } |
24 | 25 | |
25 | 26 | wfRunHooks( 'GetAutoPromoteGroups', array( $user, &$promote ) ); |