You are here

spaces_og.install in Spaces 6.2

Same filename and directory in other branches
  1. 6 spaces_og/spaces_og.install

File

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

Namesort descending Description
spaces_og_enable Implementaton of hook_enable().