spaces_user.install in Spaces 6.3
Same filename and directory in other branches
File
spaces_user/spaces_user.installView source
<?php
/**
* Implementation of hook_enable().
*/
function spaces_user_enable() {
// Weight spaces_user() to just above PURL.
db_query("UPDATE {system} SET weight = -19 WHERE name = 'spaces_user' AND type = 'module'");
}
/**
* Set module weight of spaces_user to -19
*/
function spaces_user_update_6001() {
db_query("UPDATE {system} SET weight = -19 WHERE name = 'spaces_user' AND type = 'module'");
return array(
array(
'success' => true,
'query' => 'Set weight of spaces_user to -19.',
),
);
}
Functions
Name![]() |
Description |
---|---|
spaces_user_enable | Implementation of hook_enable(). |
spaces_user_update_6001 | Set module weight of spaces_user to -19 |