X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiPurge.php;h=b7cfc2c6a20b659a3c27700dcef1ba0f1b13c926;hb=28f57e9ef44cc3028e19a5c0aae84472e80f2519;hp=35f93e076ab0b6d9fce4db02adf9e917a70fafa8;hpb=079d61fb79ac0a026c5a4c3b57bfbdaf3a037cd1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiPurge.php b/includes/api/ApiPurge.php index 35f93e076a..b7cfc2c6a2 100644 --- a/includes/api/ApiPurge.php +++ b/includes/api/ApiPurge.php @@ -1,12 +1,6 @@ getSecondaryDataUpdates( $title, null, $forceRecursiveLinkUpdate, $p_result ); foreach ( $updates as $update ) { + $update->setCause( 'api-purge', $this->getUser()->getName() ); DeferredUpdates::addUpdate( $update, DeferredUpdates::PRESEND ); }