mirror of
https://github.com/flarum/core.git
synced 2025-10-15 00:44:40 +02:00
Fix some incorrect attribute names
This commit is contained in:
@@ -58,7 +58,7 @@ class CollectGarbage implements Middleware
|
||||
|
||||
$time = Carbon::now()->timestamp;
|
||||
|
||||
AccessToken::whereRaw('last_activity <= ? - lifetime', [$time])->delete();
|
||||
AccessToken::whereRaw('last_activity_at <= ? - lifetime_seconds', [$time])->delete();
|
||||
|
||||
$earliestToKeep = date('Y-m-d H:i:s', $time - 24 * 60 * 60);
|
||||
|
||||
|
Reference in New Issue
Block a user