Revert r97531 -- hook call added that uses undefined local variables, will spew E_NOT...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 19 Sep 2011 20:07:40 +0000 (20:07 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 19 Sep 2011 20:07:40 +0000 (20:07 +0000)
maintenance/deleteBatch.php

index 1f945d9..52542ce 100644 (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 );