API: Make `usernames` a local variable
authorPatrick Westerhoff <PatrickWesterhoff@gmail.com>
Sat, 25 Oct 2014 01:51:28 +0000 (03:51 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Mon, 10 Nov 2014 18:44:00 +0000 (18:44 +0000)
commitd099d3e3cda436774841d60c193b4eff03b37ef0
tree5c55ed0f7b252cd018df819c5620bbe8d95f58b9
parentaa5c2493cbabe7663eefc922316a6fa1d588f887
API: Make `usernames` a local variable

Instead of having a single-purpose instance variable, keep the array
local. This also allows reusing `prepareUsername` for other parameters.

Change-Id: Iea7c3c1f24a371a665ebdbeeb3e827262246f1b3
includes/api/ApiQueryBlocks.php