You are here

me.install in me aliases 5

Same filename and directory in other branches
  1. 8 me.install
  2. 6.2 me.install
  3. 6 me.install
  4. 7 me.install

Provides 'me' aliases install and uninstall routines.

File

me.install
View source
<?php

/**
 * @file
 *
 * Provides 'me' aliases install and uninstall routines.
 */

/**
 * Implementation of hook_install().
 */
function me_install() {
  db_query("UPDATE {system} SET weight = 1000 WHERE name = 'me'");
}

/**
 * Implementation of hook_uninstall().
 */
function me_uninstall() {
  $vars = array(
    'me_aliases',
  );
  foreach ($vars as $var) {
    variable_del($var);
  }
}

/**
 * Implementation of hook_update_N().
 */
function me_update_5101() {
  return array(
    update_sql("UPDATE {system} SET weight = 1000 WHERE name = 'me'"),
  );
}

Functions

Namesort descending Description
me_install Implementation of hook_install().
me_uninstall Implementation of hook_uninstall().
me_update_5101 Implementation of hook_update_N().