dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
eeb16a2
)
Fix regression in r84638, causing ArticleDeleteComplete to be called twice on file...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 2 Jun 2011 15:42:23 +0000
(15:42 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 2 Jun 2011 15:42:23 +0000
(15:42 +0000)
includes/FileDeleteForm.php
patch
|
blob
|
history
diff --git
a/includes/FileDeleteForm.php
b/includes/FileDeleteForm.php
index
2c87ccc
..
f16036b
100644
(file)
--- a/
includes/FileDeleteForm.php
+++ b/
includes/FileDeleteForm.php
@@
-131,7
+131,6
@@
class FileDeleteForm {
$status = $file->delete( $reason, $suppress );
if( $status->ok ) {
$dbw->commit();
- wfRunHooks( 'ArticleDeleteComplete', array( &$article, &$wgUser, $reason, $id ) );
} else {
$dbw->rollback();
}