X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiPurge.php;h=b7cfc2c6a20b659a3c27700dcef1ba0f1b13c926;hb=f2ef535e3959372dd84f527cb7d45600c56c93a9;hp=35f93e076ab0b6d9fce4db02adf9e917a70fafa8;hpb=237d3271fd313ebe09858a5c442a91216a7b61cf;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 ); }