Revert r97531 -- hook call added that uses undefined local variables, will spew E_NOTICE warnings when run.

This commit is contained in:
Brion Vibber 2011-09-19 20:07:40 +00:00
parent ac49ca09b6
commit 834bcab2a8

View file

@ -88,8 +88,6 @@ class DeleteBatch extends Maintenance {
$img = wfFindFile( $art->mTitle );
if ( !$img || !$img->delete( $reason ) ) {
$this->output( "FAILED to delete image file... " );
} else {
wfRunHooks('ArticleDeleteComplete', array(&$art, &$wgUser, $reason, $page_id));
}
} else {
$art = new Article( $page );