gitea/modules/cron
wxiaoguang 960c322586
Refactor update checker to use AppState ()
We have the `AppState` module now, it can store app related data easily. We do not need to create separate tables for each feature.

So the update checker can use `AppState` instead of a one-row dedicate table.

And the code of update checker is moved from `models` to `modules`.
..
cron.go
setting.go Cron job to cleanup hook_task table ()
tasks.go Mirror System Notice reports are too frequent ()
tasks_basic.go Refactor: Move login out of models ()
tasks_extended.go Refactor update checker to use AppState ()