Skip to content

Commit

Permalink
Merge pull request #53 from Islandora/less-gemini
Browse files Browse the repository at this point in the history
Delete context.context.files_in_fedora.yml
  • Loading branch information
elizoller authored Jul 15, 2021
2 parents a44699b + eae7877 commit 0d9a59a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 31 deletions.
31 changes: 0 additions & 31 deletions config/install/context.context.files_in_fedora.yml

This file was deleted.

11 changes: 11 additions & 0 deletions islandora_defaults.install
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,14 @@ function islandora_defaults_update_8002() {
}
}
}

/**
* Deletes the context for indexing in Gemini.
*/
function islandora_defaults_update_8003() {
$config_factory = \Drupal::configFactory();
$context = $config_factory->getEditable('context.context.files_in_fedora');
if ($context) {
$context->delete();
}
}

0 comments on commit 0d9a59a

Please sign in to comment.