public function verify_rewards_cache(&$userinfo, $updatecache = true) {
if (!$userinfo['userid']) { // This isn't a valid user return false; }