X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FdeleteBatch.php;h=9e35687dcf6491701f9f12187c4473acf6b50c34;hb=1427bb1821e7f2e5dfbf68d929f369e4344ad884;hp=c3cbdebcdf9bb5954c5f6c84545714230cc3766c;hpb=4ad03aa11dacd2f443105e43fd1429398aa73bdc;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/deleteBatch.php b/maintenance/deleteBatch.php index c3cbdebcdf..9e35687dcf 100644 --- a/maintenance/deleteBatch.php +++ b/maintenance/deleteBatch.php @@ -108,7 +108,7 @@ class DeleteBatch extends Maintenance { } $page = WikiPage::factory( $title ); $error = ''; - $success = $page->doDeleteArticle( $reason, false, 0, true, $error, $user ); + $success = $page->doDeleteArticle( $reason, false, null, null, $error, $user, true ); if ( $success ) { $this->output( " Deleted!\n" ); } else { @@ -123,5 +123,5 @@ class DeleteBatch extends Maintenance { } } -$maintClass = "DeleteBatch"; +$maintClass = DeleteBatch::class; require_once RUN_MAINTENANCE_IF_MAIN;