eikek 90421599ea Fix storing empty-trash task
It was wrongly stored using RPeriodicTask directly, but the higher
level `UserTask` must be used instead, because this ensures a
correctly scoped periodic task using the `updateOneTask` method. Since
this is a system task, it can be given a fixed ID which makes it now
safe even if stored using RPeriodicTask directly.

The bug resulted in multiple empty-trash tasks to be inserted (on each
restart).

Refs: #347
2021-08-20 00:25:25 +02:00
..
2021-08-19 08:50:30 +02:00
2021-08-20 00:25:25 +02:00
2021-08-19 08:50:30 +02:00
2021-08-19 08:50:30 +02:00
2021-08-19 08:50:30 +02:00
2021-08-20 00:25:25 +02:00
2021-08-19 08:50:30 +02:00
2021-08-20 00:25:25 +02:00