Use correct variable in UserCache::doQuery
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 11 Jul 2015 10:19:35 +0000 (12:19 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 11 Jul 2015 10:22:32 +0000 (10:22 +0000)
commita0f83703cffe05e2044b63274f6ac636cdae247a
treee8475cc7511da4618a477667d5f9e4f325e5e365
parenta1b2e33653019c272c68602992df6e1cc0e4f804
Use correct variable in UserCache::doQuery

The variable $row is set to the last user of the first loop.
It is better to use the $name which is set in the foreach correctly.
This now adds all userpages to the LinkBatch and that avoids some extra
queries on at least Special:ListFiles.

Change-Id: Ied378b1596ec9d38eda41ce5ee413203c65eb21b
includes/cache/UserCache.php