You are here

backup_migrate.install in Backup and Migrate 5

backup and migrate install/uninstall hooks

File

backup_migrate.install
View source
<?php

/**
 * @file
 * backup and migrate install/uninstall hooks
 */

/**
 * Implementation of hook_install().
 */
function backup_migrate_install() {
}

/**
 * Remove variables on uninstall.
 */
function backup_migrate_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'backup_migrate_%'");
  cache_clear_all('variables', 'cache');
}

Functions

Namesort descending Description
backup_migrate_install Implementation of hook_install().
backup_migrate_uninstall Remove variables on uninstall.