Index: trunk/extensions/Newuserlog/Newuserlog.php |
— | — | @@ -22,7 +22,8 @@ |
23 | 23 | ); |
24 | 24 | |
25 | 25 | if( isset($wgNewUserLog) ) { |
26 | | - echo( "You must remove the newuserlog extension, as it is now in the core software!\n" ); |
| 26 | + trigger_error( "You must remove the newuserlog extension, as it is now in the core software!", |
| 27 | + E_USER_WARNING ); |
27 | 28 | } else { |
28 | 29 | # Run this hook on new account creation |
29 | 30 | $wgHooks['AddNewAccount'][] = 'wfNewuserlogHook'; |