function refreshConsentToken($token, $ru = null) { if (!$token) { WindowsLiveLogin::debug("Error: refreshConsentToken: Null consent token."); return; } WindowsLiveLogin::refreshConsentToken2($token->getOffersString(), $token->getRefreshToken(), $ru); }