function gathercontent_ui_update_8501 in GatherContent 8.5
Uninstall results view.
File
- gathercontent_ui/
gathercontent_ui.install, line 53 - Install and uninstall script for GatherContent UI module.
Code
function gathercontent_ui_update_8501() {
$view = Views::getView('result_pages');
if (!empty($view->storage)) {
$view->storage
->delete();
}
}