r89345 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r89344
|
r89345
|
r89346
>
Date:
15:42, 2 June 2011
Author:
catrope
Status:
ok
Tags:
Comment:
Fix regression in
r84638
, causing ArticleDeleteComplete to be called twice on file deletions. doDeleteArticle() already calls it, there's no need for FileDeleteForm::doDelete() to call it again
Modified paths:
/trunk/phase3/includes/FileDeleteForm.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/FileDeleteForm.php
—
—
@@ -131,7 +131,6 @@
132
132
$status = $file->delete( $reason, $suppress );
133
133
if( $status->ok ) {
134
134
$dbw->commit();
135
- wfRunHooks( 'ArticleDeleteComplete', array( &$article, &$wgUser, $reason, $id ) );
136
135
} else {
137
136
$dbw->rollback();
138
137
}
Follow-up revisions
Revision
Commit summary
Author
Date
r92330
REL1_18 MFT
r88750
,
r88870
,
r88871
,
r89003
,
r89005
,
r89114
,
r89115
,
r89129
,
r...
reedy
22:56, 15 July 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r84638
Moving deletion hooks into doArticleDelete so that other code can sanely dele...
laner
21:54, 23 March 2011
Status & tagging log
22:56, 15 July 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r89345
[
removed:
1.18]
21:58, 2 June 2011
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r89345
[
removed:
new
added:
ok]
15:45, 2 June 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r89345
[
added:
1.18]