mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-12 00:38:23 +00:00
maintenance: Remove reference to cleanupUsersWithNoId.php
It isn't available anymore, and it wouldn't even make
any change.
Bug: T367129
Change-Id: Ifd926856264aef8f2648cdb983c7710d9f23aa77
(cherry picked from commit e1858da1fa
)
This commit is contained in:
parent
1b03f79aa0
commit
8473c0bdbc
|
@ -144,16 +144,13 @@ class MigrateActorsAF extends LoggedUpdateMaintenance {
|
|||
foreach ( $rows as $index => $row ) {
|
||||
$keep[$index] = true;
|
||||
if ( $row->actor_id === null ) {
|
||||
// All registered users should have an actor_id already. So
|
||||
// if we have a usable name here, it means they didn't run
|
||||
// maintenance/cleanupUsersWithNoId.php
|
||||
$name = $row->$nameField;
|
||||
if ( $userNameUtils->isUsable( $name ) ) {
|
||||
if ( !isset( $complainedAboutUsers[$name] ) ) {
|
||||
$complainedAboutUsers[$name] = true;
|
||||
$this->error(
|
||||
"User name \"$name\" is usable, cannot create an anonymous actor for it."
|
||||
. " Run maintenance/cleanupUsersWithNoId.php to fix this situation.\n"
|
||||
. " Your database has likely been corrupted, and may require manual intervention.\n"
|
||||
);
|
||||
}
|
||||
unset( $keep[$index] );
|
||||
|
|
Loading…
Reference in a new issue