From 45b2d75d12d733386c7157af11394af1b0720e83 Mon Sep 17 00:00:00 2001 From: MalikAQayum Date: Sat, 28 Mar 2020 13:30:42 +0100 Subject: [PATCH] Update userInfo.php lastlogoff key has been removed from the GetPlayerSummaries api. --- steamauth/userInfo.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/steamauth/userInfo.php b/steamauth/userInfo.php index 5d621a1..01b9050 100644 --- a/steamauth/userInfo.php +++ b/steamauth/userInfo.php @@ -7,7 +7,6 @@ $_SESSION['steam_communityvisibilitystate'] = $content['response']['players'][0]['communityvisibilitystate']; $_SESSION['steam_profilestate'] = $content['response']['players'][0]['profilestate']; $_SESSION['steam_personaname'] = $content['response']['players'][0]['personaname']; - $_SESSION['steam_lastlogoff'] = $content['response']['players'][0]['lastlogoff']; $_SESSION['steam_profileurl'] = $content['response']['players'][0]['profileurl']; $_SESSION['steam_avatar'] = $content['response']['players'][0]['avatar']; $_SESSION['steam_avatarmedium'] = $content['response']['players'][0]['avatarmedium']; @@ -27,7 +26,6 @@ $steamprofile['communityvisibilitystate'] = $_SESSION['steam_communityvisibilitystate']; $steamprofile['profilestate'] = $_SESSION['steam_profilestate']; $steamprofile['personaname'] = $_SESSION['steam_personaname']; -$steamprofile['lastlogoff'] = $_SESSION['steam_lastlogoff']; $steamprofile['profileurl'] = $_SESSION['steam_profileurl']; $steamprofile['avatar'] = $_SESSION['steam_avatar']; $steamprofile['avatarmedium'] = $_SESSION['steam_avatarmedium'];