Fix userrights-interwiki when the 'user' table is shared
authorUltrasonicNXT <adamr_carter@btinternet.com>
Wed, 5 Feb 2014 21:03:15 +0000 (21:03 +0000)
committerLegoktm <legoktm.wikipedia@gmail.com>
Sun, 10 Aug 2014 12:01:25 +0000 (12:01 +0000)
commit9d68a8718f751d1864416e4f076fbcceaeff57db
treea91728e9ca074422a257b405adcf39b72557593c
parent6a09d25aee451e4d5c580fa4992344063060ece0
Fix userrights-interwiki when the 'user' table is shared

At present, this function selects the user table from the same DB as the
user_groups, however, in wikifarms this is not often the case, as the user
table is often shared, but the user_groups table not. Adding a check in
here, and passing the shared table, if needed, ONLY to the user query,
should fix.

Change-Id: Ib85630067c402b8e4f50ff11a33fe7f0eadd4f16
includes/UserRightsProxy.php