You are here

spaces_user.install in Spaces 6.3

Same filename and directory in other branches
  1. 7.3 spaces_user/spaces_user.install
  2. 7 spaces_user/spaces_user.install

File

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

Namesort descending Description
spaces_user_enable Implementation of hook_enable().
spaces_user_update_6001 Set module weight of spaces_user to -19