You are here

function s3fs_update_8302 in S3 File System 8.3

Same name and namespace in other branches
  1. 4.0.x 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.');
  }
}