You are here

function apachesolr_search_update_7003 in Apache Solr Search 8

Same name and namespace in other branches
  1. 7 apachesolr_search.install \apachesolr_search_update_7003()

Delete all Apache Solr Search blocks - they moved to Facet API.

File

./apachesolr_search.install, line 286
Install and related hooks for apachesolr_search.

Code

function apachesolr_search_update_7003() {

  // Remove blocks.
  db_delete('block')
    ->condition('module', 'apachesolr_search')
    ->execute();
}