You are here

function quickbar_enable in Quickbar 6

Same name and namespace in other branches
  1. 7.2 quickbar.install \quickbar_enable()
  2. 7 quickbar.install \quickbar_enable()

Implementation of hook_enable().

File

./quickbar.install, line 6

Code

function quickbar_enable() {

  // Weight quickbar to come after other modules.
  db_query("UPDATE {system} SET weight = 1 WHERE name = 'quickbar' AND type = 'module'");
  drupal_set_message(t('Please go to the !quick_config screen to configure Quickbar.', array(
    '!quick_config' => l('Quickbar configuration', 'admin/settings/quickbar'),
  )));
}