You are here

function user_prune_install in User Prune 7

Implements hook_install().

File

./user_prune.install, line 11
Administration prune_user installation functions.

Code

function user_prune_install() {
  variable_set('user_prune_user_status', 'all');
  variable_set('user_prune_cron_checkbox', FALSE);
  variable_set('user_prune_user_roles_checkbox', array());
  variable_set('user_prune_no_comment', 0);
  variable_set('user_prune_no_node', 0);
  variable_set('user_prune_prune_per_run', '10');
  variable_set('user_prune_time_year', 0);
  variable_set('user_prune_time_month', 0);
  variable_set('user_prune_time_day', 0);
}