Skip to content

Commit

Permalink
Less gemini (#841)
Browse files Browse the repository at this point in the history
* Delete system.action.index_file_in_fedora.yml

* Delete system.action.delete_file_from_fedora.yml

* update hook
  • Loading branch information
dannylamb authored Jul 15, 2021
1 parent 85dae5c commit 75215ca
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 30 deletions.

This file was deleted.

This file was deleted.

16 changes: 16 additions & 0 deletions modules/islandora_core_feature/islandora_core_feature.install
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,19 @@ function islandora_core_feature_update_8001(&$sandbox) {
]);
}
}

/**
* Delete actions that have to do with Gemini.
*/
function islandora_core_feature_update_8002() {
$config_factory = \Drupal::configFactory();
$action = $config_factory->getEditable('system.action.index_file_in_fedora');
if ($action) {
$action->delete();
}

$action = $config_factory->getEditable('system.action.delete_file_from_fedora');
if ($action) {
$action->delete();
}
}

0 comments on commit 75215ca

Please sign in to comment.