You are here

function node_revision_delete_update_7100 in Revision Deletion 7

Update the variable names.

File

./revision_deletion.install, line 43
Install and uninstall functions for the Revision Deletion module.

Code

function node_revision_delete_update_7100() {

  // Updating the variable values to the new variables.
  variable_set('revision_deletion_cron', variable_get('revision_delete_cron'));
  variable_set('revision_deletion', variable_get('revision_delete'));
  variable_set('revision_deletion_frequency', variable_get('revision_delete_frequency'));
  variable_set('revision_deletion_age', variable_get('revision_delete_age'));
  variable_set('revision_deletion_list_override', variable_get('revision_delete_list_override'));
  variable_set('revision_deletion_list_show_notes', variable_get('revision_delete_list_show_notes'));
  variable_set('revision_deletion_list_keep_original', variable_get('revision_delete_list_keep_original'));
  variable_set('revision_deletion_list_keep_date_last', variable_get('revision_deletion_list_keep_date_last'));
  variable_set('revision_deletion_list_keep_current', variable_get('revision_deletion_list_keep_current'));
}