You are here

themekey_user_profile.install in ThemeKey 7.3

Same filename and directory in other branches
  1. 7 themekey_user_profile.install
  2. 7.2 themekey_user_profile.install

Database schema of

@author Markus Kalkbrenner | bio.logis GmbH

File

themekey_user_profile.install
View source
<?php

/**
 * @file
 * Database schema of
 * @see themekey_user_profile.module
 *
 * @author Markus Kalkbrenner | bio.logis GmbH
 *   @see http://drupal.org/user/124705
 */

/**
 * Implements hook_disable().
 */
function themekey_user_profile_disable() {
  module_load_include('inc', 'themekey', 'themekey_build');
  themekey_update_static_rule('user:profile_triggers_theme', FALSE);
}

/**
 * Implements hook_uninstall().
 */
function themekey_user_profile_uninstall() {

  // Remove variables
  db_delete('variable')
    ->condition('name', 'themekey_ui_user_profile')
    ->execute();
  cache_clear_all('variables', 'cache');
}