diff options
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index ad76e11be..5e0d5b8d2 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2157,7 +2157,7 @@ function system_update_7033() { } /** - * Migrate the file_downloads setting and create the new {file_managed} table. + * Migrate the file path settings and create the new {file_managed} table. */ function system_update_7034() { $files_directory = variable_get('file_directory_path', NULL); @@ -2918,6 +2918,15 @@ function system_update_7065() { } /** + * Migrate the 'file_directory_temp' variable. + */ +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'); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |