r40841 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40840‎ | r40841 | r40842 >
Date:04:56, 15 September 2008
Author:tstarling
Status:old
Tags:
Comment:
Less noisy conflict warning, for a production environment.
Modified paths:
  • /trunk/extensions/Newuserlog/Newuserlog.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Newuserlog/Newuserlog.php
@@ -22,7 +22,8 @@
2323 );
2424
2525 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 );
2728 } else {
2829 # Run this hook on new account creation
2930 $wgHooks['AddNewAccount'][] = 'wfNewuserlogHook';