* (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook

This commit is contained in:
Alexandre Emsenhuber 2010-11-23 10:04:38 +00:00
parent 7dd27a858c
commit 74a12db8f6
2 changed files with 2 additions and 1 deletions

View file

@ -529,6 +529,7 @@ LocalSettings.php. The specific bugs are listed below in the general notes.
$wgDisableCounters enabled
* (bug 25987) prop=info&inprop=watched now also works for missing pages
* (bug 26006) prop=langlinks now allows obtaining full URL
* (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook
=== Languages updated in 1.17 ===

View file

@ -146,7 +146,7 @@ class ApiDelete extends ApiBase {
}
$error = '';
if ( !wfRunHooks( 'ArticleDelete', array( &$article, &$wgUser, &$reason, $error ) ) ) {
if ( !wfRunHooks( 'ArticleDelete', array( &$article, &$wgUser, &$reason, &$error ) ) ) {
return array( array( 'hookaborted', $error ) );
}