dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Add tests for legacy encoding when constructing RevisionRecords"
[lhc/web/wiklou.git]
/
maintenance
/
deleteDefaultMessages.php
diff --git
a/maintenance/deleteDefaultMessages.php
b/maintenance/deleteDefaultMessages.php
index
ba8662a
..
417aa03
100644
(file)
--- a/
maintenance/deleteDefaultMessages.php
+++ b/
maintenance/deleteDefaultMessages.php
@@
-72,7
+72,7
@@
class DeleteDefaultMessages extends Maintenance {
// in order to hide it in RecentChanges.
$user = User::newFromName( 'MediaWiki default' );
if ( !$user ) {
- $this->
error( "Invalid username", true
);
+ $this->
fatalError( "Invalid username"
);
}
$user->addGroup( 'bot' );
$wgUser = $user;