og_access.install in Organic groups 6
Same filename and directory in other branches
File
modules/og_access/og_access.installView source
<?php
/**
* An implementation of hook_install().
*/
function og_access_install() {
// Put this module after OG so it can form_alter as needed.
db_query("UPDATE {system} SET weight = 1 WHERE name = 'og_access'");
}
function og_access_uninstall() {
// Delete variables
$variables = array(
'og_private_groups',
'og_visibility',
);
foreach ($variables as $variable) {
variable_del($variable);
}
}
Functions
Name | Description |
---|---|
og_access_install | An implementation of hook_install(). |
og_access_uninstall |