function system_update_7066
7.x system.install | system_update_7066() |
Migrate the 'file_directory_temp' variable.
Related topics
File
- drupal-7.x/
modules/ system/ system.install, line 2960 - 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');
}