You are here

function s3fs_update_7003 in S3 File System 7.2

Same name and namespace in other branches
  1. 7.3 s3fs.install \s3fs_update_7003()
  2. 7 s3fs.install \s3fs_update_7003()

Rename the variable s3fs_allow_relative to s3fs_use_relative_urls.

File

./s3fs.install, line 259
Install, update and uninstall functions for the S3 File System module.

Code

function s3fs_update_7003() {
  $allow_relative = variable_get('s3fs_allow_relative', 'unset');
  if ($allow_relative !== 'unset') {
    variable_set('s3fs_use_relative_urls', $allow_relative);
    variable_del('s3fs_allow_relative');
  }
}