From d7b0d849974a6ebd267377a388c926ddc4a333d0 Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi <62933155+2002Bishwajeet@users.noreply.github.com> Date: Mon, 13 Jun 2022 17:08:54 +0530 Subject: [PATCH] Update src/Appwrite/Auth/OAuth2/Dailymotion.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matej Bačo --- src/Appwrite/Auth/OAuth2/Dailymotion.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Appwrite/Auth/OAuth2/Dailymotion.php b/src/Appwrite/Auth/OAuth2/Dailymotion.php index 0c1ce513e0..f944b57ef5 100644 --- a/src/Appwrite/Auth/OAuth2/Dailymotion.php +++ b/src/Appwrite/Auth/OAuth2/Dailymotion.php @@ -156,8 +156,6 @@ class Dailymotion extends OAuth2 public function getUserEmail(string $accessToken): string { $user = $this->getUser($accessToken); - - $userEmail = $user['email'] ?? ''; return $userEmail;