/** * injecting data from chat to memcache * and purging cache for ChatEntryPoint used by Anons */ public static function setUsersList() { ChatHelper::info(__METHOD__ . ': Method called'); global $wgRequest; wfProfileIn(__METHOD__); if (ChatHelper::getChatCommunicationToken() != $wgRequest->getVal('token')) { wfProfileOut(__METHOD__); return array('status' => false); } NodeApiClient::setChatters($wgRequest->getArray('users')); wfProfileOut(__METHOD__); return array('status' => $wgRequest->getArray('users')); }