Index: trunk/extensions/Newuserlog/Newuserlog.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | $wgHooks['AddNewAccount'][] = 'wfNewuserlogHook'; |
45 | 45 | } |
46 | 46 | |
47 | | -function wfNewuserlogHook( $user ) { |
| 47 | +function wfNewuserlogHook( $user = null ) { |
48 | 48 | global $wgUser, $wgContLang, $wgVersion; |
49 | 49 | |
50 | 50 | if( is_null( $user ) ) { |