You are here

function s3fs_update_7203 in S3 File System 7.3

Same name and namespace in other branches
  1. 7.2 s3fs.install \s3fs_update_7203()

Replace the s3fs_use_instance_profile variable with s3fs_awssdk2_use_instance_profile.

File

./s3fs.install, line 372
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);
}