Index: trunk/phase3/includes/RecentChange.php |
— | — | @@ -280,10 +280,8 @@ |
281 | 281 | * Makes an entry in the database corresponding to page creation |
282 | 282 | * Note: the title object must be loaded with the new id using resetArticleID() |
283 | 283 | * @todo Document parameters and return |
284 | | - * @public |
285 | | - * @static |
286 | 284 | */ |
287 | | - public static function notifyNew( $timestamp, &$title, $minor, &$user, $comment, $bot = "default", |
| 285 | + public static function notifyNew( $timestamp, &$title, $minor, &$user, $comment, $bot = 'default', |
288 | 286 | $ip='', $size = 0, $newId = 0 ) |
289 | 287 | { |
290 | 288 | if ( !$ip ) { |
— | — | @@ -292,7 +290,7 @@ |
293 | 291 | $ip = ''; |
294 | 292 | } |
295 | 293 | } |
296 | | - if ( $bot == 'default' ) { |
| 294 | + if ( $bot === 'default' ) { |
297 | 295 | $bot = $user->isAllowed( 'bot' ); |
298 | 296 | } |
299 | 297 | |