dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
875ccb3
)
Merge "ApiPurge: Remove setTriggeringUser call."
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 19 Oct 2016 03:46:13 +0000
(
03:46
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 19 Oct 2016 03:46:13 +0000
(
03:46
+0000)
includes/api/ApiPurge.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiPurge.php
b/includes/api/ApiPurge.php
index
8be523e
..
8bbd88d
100644
(file)
--- a/
includes/api/ApiPurge.php
+++ b/
includes/api/ApiPurge.php
@@
-103,11
+103,6
@@
class ApiPurge extends ApiBase {
$updates = $content->getSecondaryDataUpdates(
$title, null, $forceRecursiveLinkUpdate, $p_result );
foreach ( $updates as $update ) {
- # Some extensions, like EventBus, need to know the user
- # that performed the purge action, so set it here
- if ( $update instanceof LinksUpdate ) {
- $update->setTriggeringUser( $user );
- }
DeferredUpdates::addUpdate( $update, DeferredUpdates::PRESEND );
}