diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-21 20:35:10 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-21 20:35:10 +0000 |
commit | fe7e01c60d9d0c540112fa2ffe4265240e2fe0cb (patch) | |
tree | c02da19aeeff8b89290cc737225449c000ab95b9 /modules/system/system.install | |
parent | 2e438914d2133d185f12547b815ab8fde3f80bc2 (diff) | |
download | brdo-fe7e01c60d9d0c540112fa2ffe4265240e2fe0cb.tar.gz brdo-fe7e01c60d9d0c540112fa2ffe4265240e2fe0cb.tar.bz2 |
#931736 by dww: Fixed No upgrade path for the D6 'file_directory_temp' setting.
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. */ |