mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:31:57 +08:00
Remove unused $lifetime variable
This commit is contained in:
parent
26dfc8ae21
commit
aba22b9119
@ -33,8 +33,6 @@ class Rememberer
|
||||
|
||||
public function remember(ResponseInterface $response, AccessToken $token)
|
||||
{
|
||||
$lifetime = null;
|
||||
|
||||
$token->lifetime = 5 * 365 * 24 * 60 * 60; // 5 years
|
||||
$token->save();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user