Skip to content

Commit 0745beb

Browse files
authored
Merge pull request facebookarchive#741 from J2TeaM/patch-2
Update AccessToken.php
2 parents 62c66f0 + ceaccef commit 0745beb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Facebook/Authentication/AccessToken.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,7 @@ public function isLongLived()
101101
return $this->expiresAt->getTimestamp() > time() + (60 * 60 * 2);
102102
}
103103

104-
if ($this->isAppAccessToken()) {
105-
return true;
106-
}
107-
108-
return false;
104+
return $this->isAppAccessToken();
109105
}
110106

111107
/**

0 commit comments

Comments
 (0)