Make users API cache mode public if blockinfo is not queried
authorGergő Tisza <tgr.huwiki@gmail.com>
Tue, 22 Apr 2014 01:45:42 +0000 (01:45 +0000)
committerGergő Tisza <tgr.huwiki@gmail.com>
Tue, 22 Apr 2014 21:15:00 +0000 (21:15 +0000)
commit34bd462a778db82dc17ae9642f16f463d2165b80
tree36d21e372e37dc5e098af098aadfa98e73fc3bc4
parenta5ee223cde679dece81f9c038e9fb43ddd937410
Make users API cache mode public if blockinfo is not queried

Blockinfo is currently the only piece of information
(apart from tokens) in the users API which might change
depending on the permissions of the user making the
query. There is no point in making the API request
uncacheable if blockinfo is not requested.

Change-Id: I533f622b7d9077589f148fbb6de98b15ef1c212a
includes/api/ApiQueryUsers.php