X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiPurge.php;h=b7cfc2c6a20b659a3c27700dcef1ba0f1b13c926;hb=f1189284588d626e257bb8cfa43e7a8d60c0453f;hp=35f93e076ab0b6d9fce4db02adf9e917a70fafa8;hpb=fb291fe9d31cba69ae8cebeb5ba04f76f35d7816;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 ); }