You are here

function user_variable_cron in User variable 7

Same name and namespace in other branches
  1. 6 user_variable.module \user_variable_cron()

Implementation of hook_cron().

File

./user_variable.module, line 234
User variable - Creating and working with user variables.

Code

function user_variable_cron() {
  db_query("DELETE FROM {user_variable} WHERE expired < :time AND expired <> 0", array(
    ':time' => time(),
  ));
}