You are here

function system_update_7066 in Drupal 7

Migrate the 'file_directory_temp' variable.

Related topics

File

modules/system/system.install, line 3097
Install, update and uninstall functions for the system module.

Code

function system_update_7066() {
  $d6_file_directory_temp = variable_get('file_directory_temp', file_directory_temp());
  variable_set('file_temporary_path', $d6_file_directory_temp);
  variable_del('file_directory_temp');
}