You are here

og_access.install in Organic groups 6

Same filename and directory in other branches
  1. 6.2 modules/og_access/og_access.install

File

modules/og_access/og_access.install
View 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

Namesort descending Description
og_access_install An implementation of hook_install().
og_access_uninstall