X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiMove.php;h=c38457eba777161914b35610ef1e574cb66cbeb7;hb=f85df0ac40a09cc41016f7f003139e9671d245b7;hp=aca4378437d95587e21a9704ef7e42f14542caee;hpb=dfbc38e412c763d48c057fa0cf75c920ed522519;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiMove.php b/includes/api/ApiMove.php index aca4378437..c38457eba7 100644 --- a/includes/api/ApiMove.php +++ b/includes/api/ApiMove.php @@ -85,7 +85,7 @@ class ApiMove extends ApiBase { 'reason' => $params['reason'] ); - //NOTE: we assume that if the old title exists, it's because it was re-created as + // NOTE: we assume that if the old title exists, it's because it was re-created as // a redirect to the new title. This is not safe, but what we did before was // even worse: we just determined whether a redirect should have been created, // and reported that it was created if it should have, without any checks. @@ -130,10 +130,8 @@ class ApiMove extends ApiBase { $watch = $params['watchlist']; } elseif ( $params['watch'] ) { $watch = 'watch'; - $this->logFeatureUsage( 'action=move&watch' ); } elseif ( $params['unwatch'] ) { $watch = 'unwatch'; - $this->logFeatureUsage( 'action=move&unwatch' ); } // Watch pages