You are here

function spaces_enable in Spaces 7

Same name and namespace in other branches
  1. 6.3 spaces.install \spaces_enable()
  2. 6 spaces.install \spaces_enable()
  3. 6.2 spaces.install \spaces_enable()
  4. 7.3 spaces.install \spaces_enable()

Implements hook_enable().

File

./spaces.install, line 24
Install, update and uninstall functions for the spaces module.

Code

function spaces_enable() {
  db_update('system')
    ->fields(array(
    'weight' => -1,
  ))
    ->condition('name', 'spaces')
    ->condition('type', 'module')
    ->execute();
}