exit -> return

This commit is contained in:
Alexandre Emsenhuber 2010-10-10 09:01:03 +00:00
parent 66234904b8
commit 20072cfe4a

View file

@ -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;
}
}
}