1 | <?php |
||
11 | class ThreemaGateway_CronEntry_CleanUp |
||
12 | { |
||
13 | /** |
||
14 | * This task removes all deleted messages, which are so old that they are |
||
15 | * no risk for a reply attack anymore. |
||
16 | * |
||
17 | * This ensures that unnecessary meta data is deleted as afterwards also |
||
18 | * the message ID is deleted so no one knows that the message has been |
||
19 | * received. |
||
20 | */ |
||
21 | public static function pruneOldDeletedMessages() |
||
44 | |||
45 | /** |
||
46 | * This task removes all expired pending requests for the 2FA modes. |
||
47 | * |
||
48 | * This task should stay enabled. |
||
49 | */ |
||
50 | public static function pruneExpiredTfaPendingRequests() |
||
56 | |||
57 | /** |
||
58 | * This task removes all old action log entries, which are not anymore used |
||
59 | * for rate-limiting/throtteling any actions. |
||
60 | * |
||
61 | * This task should stay enabled. |
||
62 | */ |
||
63 | public static function pruneOldActionLogEntries() |
||
69 | } |
||
70 |