Index: trunk/phase3/maintenance/deleteBatch.php |
— | — | @@ -88,6 +88,8 @@ |
89 | 89 | $img = wfFindFile( $art->mTitle ); |
90 | 90 | if ( !$img || !$img->delete( $reason ) ) { |
91 | 91 | $this->output( "FAILED to delete image file... " ); |
| 92 | + } else { |
| 93 | + wfRunHooks('ArticleDeleteComplete', array(&$art, &$wgUser, $reason, $page_id)); |
92 | 94 | } |
93 | 95 | } else { |
94 | 96 | $art = new Article( $page ); |