function s3fs_update_7203 in S3 File System 7.2
Same name and namespace in other branches
- 7.3 s3fs.install \s3fs_update_7203()
Replace the s3fs_use_instance_profile variable with s3fs_awssdk2_use_instance_profile.
File
- ./
s3fs.install, line 349 - Install, update and uninstall functions for the S3 File System module.
Code
function s3fs_update_7203() {
$old_var = variable_get('s3fs_use_instance_profile', '');
if ($old_var !== '') {
variable_del('s3fs_use_instance_profile');
}
variable_set('s3fs_awssdk2_use_instance_profile', $old_var);
}