exit -> return
This commit is contained in:
parent
66234904b8
commit
20072cfe4a
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class DeleteSelfExternals extends Maintenance {
|
|||
. $db->buildLike( $wgServer . '/', $db->anyString() ), $this->mBatchSize );
|
||||
$this->output( "Deleting a batch\n" );
|
||||
$db->query( $q );
|
||||
if ( !$db->affectedRows() ) exit( 0 );
|
||||
if ( !$db->affectedRows() ) return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue