You are here

function apachesolr_update_6001 in Apache Solr Search 6

Same name and namespace in other branches
  1. 6.2 apachesolr.install \apachesolr_update_6001()

Fix block caching settings.

Work-around for core bug: http://drupal.org/node/235673

File

./apachesolr.install, line 207
Install and related hooks for apachesolr_search.

Code

function apachesolr_update_6001() {
  $ret = array();
  $ret[] = update_sql("UPDATE {blocks} set cache = " . BLOCK_CACHE_PER_PAGE . " WHERE module LIKE 'apachesolr%'");
  return $ret;
}