Skip to content

Commit

Permalink
install: remove oitbik update hook
Browse files Browse the repository at this point in the history
  • Loading branch information
protitude committed Jan 8, 2024
1 parent 0e5ebec commit eab3975
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions oit.install
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,13 @@ function oit_update_9007() {
$entities = $controller->loadMultiple([849]);
$controller->delete($entities);
}

/**
* Remove oitbik config.
*/
function oit_update_9008() {
$connection = \Drupal::database();
$connection->delete('config')
->condition('name', 'oitbik.settings')
->execute();
}

0 comments on commit eab3975

Please sign in to comment.