function commons_events_solr_install in Drupal Commons 7.3
Implements hook_install().
File
- modules/
commons/ commons_events/ modules/ commons_events_solr/ commons_events_solr.install, line 10 - Commons Events Solr install script.
Code
function commons_events_solr_install() {
// Set module weight to be below rich_snippets, so we can disable snippeting
// on the Solr events landing page.
db_update('system')
->fields(array(
'weight' => 5,
))
->condition('name', 'commons_events_solr')
->execute();
}