API: Avoid duplicate logs to api-feature-usage
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 5 Mar 2019 22:43:16 +0000 (17:43 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 5 Mar 2019 22:56:55 +0000 (17:56 -0500)
commit0ccc69201277c2796db8762ee9099cd0506e6006
tree630bf475717b91d87bda004af489d700fc142ed1
parentfc9d8df8ca452f648262ef0d43b8549988c83ea7
API: Avoid duplicate logs to api-feature-usage

It can wind up logging deprecations twice if extractRequestParams() is
called with different values for 'parseLimit', for example.

Change-Id: I921777089fb8cfb4339af6fd08ee3475ed31b7f6
includes/api/ApiBase.php