1
0
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:
Toby Zerner
2018-07-21 17:19:15 +09:30
parent 4f259425b0
commit 7d0813bce4
7 changed files with 10 additions and 9 deletions

View File

@@ -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);