spaces_og.install in Spaces 6.2
Same filename and directory in other branches
File
spaces_og/spaces_og.installView source
<?php
/**
* Implementaton of hook_enable().
*/
function spaces_og_enable() {
// Weight spaces_og to be after OG
$weight = db_result(db_query("SELECT weight FROM {system} WHERE type = 'module' AND name = 'og'"));
db_query("UPDATE {system} SET weight = %d WHERE name = 'spaces_og'", $weight + 1);
}
Functions
Name | Description |
---|---|
spaces_og_enable | Implementaton of hook_enable(). |