function spaces_enable in Spaces 7
Same name and namespace in other branches
- 6.3 spaces.install \spaces_enable()
- 6 spaces.install \spaces_enable()
- 6.2 spaces.install \spaces_enable()
- 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();
}