You are here

mortgage_calculator.install in Real Estate Mortgage Calculator 7

Mortgage Calculator installation

File

mortgage_calculator.install
View source
<?php

/**
 * @file
 * Mortgage Calculator installation
 */

/**
 * Implements hook_install().
 */
function mortgage_calculator_install() {
}

/**
 * Implements hook_uninstall().
 */
function mortgage_calculator_uninstall() {
  $result = db_query("SELECT name from {variable} WHERE name like 'mortgage_calculator_%'");
  foreach ($result as $record) {
    variable_del($record->name);
  }
}