api.php: Fully spell out "constructor"

There's no real reason to abbreviate it.

Change-Id: Ib85d5e420bfdc1eca4d83265e2d9c3f719d7fa2b
This commit is contained in:
Kunal Mehta 2017-02-28 20:50:31 -08:00
parent 59ffe6f6cb
commit 8605fba740

View file

@ -63,7 +63,7 @@ RequestContext::getMain()->setTitle( $wgTitle );
try {
/* Construct an ApiMain with the arguments passed via the URL. What we get back
* is some form of an ApiMain, possibly even one that produces an error message,
* but we don't care here, as that is handled by the ctor.
* but we don't care here, as that is handled by the constructor.
*/
$processor = new ApiMain( RequestContext::getMain(), $wgEnableWriteAPI );