1
0
mirror of https://github.com/flarum/core.git synced 2025-10-18 18:26:07 +02:00

fixed several column changes found by tests

This commit is contained in:
Daniel Klabbers
2018-05-14 11:34:24 +02:00
parent 7539c25048
commit fd859e33be
6 changed files with 12 additions and 9 deletions

View File

@@ -50,6 +50,6 @@ class Floodgate
new CheckingForFlooding($actor)
);
return $isFlooding ?? Post::where('user_id', $actor->id)->where('time', '>=', new DateTime('-10 seconds'))->exists();
return $isFlooding ?? Post::where('user_id', $actor->id)->where('created_at', '>=', new DateTime('-10 seconds'))->exists();
}
}