function spaces_user_enable in Spaces 7
Same name and namespace in other branches
- 6.3 spaces_user/spaces_user.install \spaces_user_enable()
- 7.3 spaces_user/spaces_user.install \spaces_user_enable()
Implements hook_enable().
File
- spaces_user/
spaces_user.install, line 12 - Install, update and uninstall functions for the spaces_user module.
Code
function spaces_user_enable() {
// Weight spaces_user() to just above PURL.
db_update('system')
->fields(array(
'weight' => -19,
))
->condition('name', 'spaces_user')
->condition('type', 'module')
->execute();
}