function search_api_update_8106 in Search API 8
Remove remnants of the search_api_views_taxonomy module.
File
- ./
search_api.install, line 319 - Install, update and uninstall functions for the Search API module.
Code
function search_api_update_8106() {
try {
\Drupal::database()
->delete('key_value')
->condition('collection', 'system.schema')
->condition('name', 'search_api_views_taxonomy')
->execute();
} catch (DatabaseException $e) {
// The admin might have done this already to get rid of the warning
// themselves. It's not really important enough to fail on this, in any
// case. In the worst case, the warning just remains. So, just ignore any
// exception. (Site could also use an alternate key/value store.)
}
}