You are here

function recently_read_session_api_cleanup in Recently Read 7.3

Implement hook_session_api_cleanup. This hook is supplied by session_api module.

File

./recently_read.module, line 142
Recently read module file. Displays a history of recently read entities.

Code

function recently_read_session_api_cleanup($outdated_sids) {
  db_delete('recently_read')
    ->condition('sid', $outdated_sids, 'IN')
    ->execute();
}