mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
287c98c707
no issue - the stale data checks would always return false because the calculation was reversed - `old date - new date` will always result in a negative number so it would never be greater than 60000 - switched to `new date - old date` to get a positive number so the `>` comparison works - moved `1 * 60 * 1000` into a constant so it's easier to the intended behaviour at a glance |
||
---|---|---|
.. | ||
admin |