Revert r97531 -- hook call added that uses undefined local variables, will spew E_NOTICE warnings when run.
This commit is contained in:
parent
ac49ca09b6
commit
834bcab2a8
1 changed files with 0 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue