MDL-45565 core_message: Fixed strangers array
commit25bd63b7138da611a44808813906fa6681bdf878
authorRajesh Taneja <rajesh@moodle.com>
Mon, 19 May 2014 03:59:32 +0000 (19 11:59 +0800)
committerRajesh Taneja <rajesh@moodle.com>
Fri, 23 May 2014 03:56:38 +0000 (23 11:56 +0800)
tree73bceba0cd77cffe15c02fd61db6a57164d77228
parent3e511ca50bb522366ea44541470e02b8721425e9
MDL-45565 core_message: Fixed strangers array

Strangers get mixed with noreply user and support user,
if  noreply/support users real user.
To avoid duplication use userid as array index. Also,
avoid fetching data again for noreply and support users,
if they are real users, then data is already feteched.
message/lib.php