function system_update_7066

Migrate the 'file_directory_temp' variable.

Related topics

File

modules/system/system.install, line 3116

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.