history_cron()
Implements hook_cron().
File
- core/modules/history/history.module, line 126
- Records which users have read which content.
Code
1 2 3 4 5 | function history_cron() { db_delete( 'history' ) ->condition( 'timestamp' , HISTORY_READ_LIMIT, '<' ) ->execute(); } |
Please login to continue.