API: Remove explicit profiling
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 10 Mar 2015 22:26:31 +0000 (18:26 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 10 Mar 2015 22:35:22 +0000 (18:35 -0400)
commitbfe07bed33f353a6490899adea0408be2805b942
tree91e92b702787bd7e3c2f7b03f2327c9ac13372df
parentc8f96384aad312e52969b81dd8ce6b8d80c3857a
API: Remove explicit profiling

The profileIn/profileOut pair should be covered by the Xhprof profiling
of the method calls it was wrapping.

The profileDBIn/profileDBOut pair are covered by profiling done by the
Database class.

Nothing in extensions in Gerrit is calling anything besides the
profileIn/profileOut pair (and likely those are only to avoid core
formerly throwing exceptions from internal profileDBIn/profileDBOut
calls), and nothing in core or extensions-in-Gerrit is using the methods
for fetching profiling data.

The methods are left as stubs for now to allow for backwards
compatibility in extensions.

Change-Id: I05ba4e2762dc86d5e2bafc183dce701239b43f5c
RELEASE-NOTES-1.25
includes/api/ApiBase.php
includes/api/ApiMain.php
includes/api/ApiPageSet.php
includes/api/ApiQuery.php
includes/api/ApiQueryBase.php