You are here

function s3fs_update_8302 in S3 File System 4.0.x

Same name and namespace in other branches
  1. 8.3 s3fs.install \s3fs_update_8302()

Fix s3fs_file table indexes.

File

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

Code

function s3fs_update_8302() {
  try {
    s3fs_fix_table_indexes();
  } catch (SchemaObjectExistsException $exception) {
    \Drupal::messenger()
      ->addStatus('"uri" primary key already exists in s3fs_file table.');
  }
}