mortgage_calculator.install in Real Estate Mortgage Calculator 7
Mortgage Calculator installation
File
mortgage_calculator.installView 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);
}
}
Functions
Name | Description |
---|---|
mortgage_calculator_install | Implements hook_install(). |
mortgage_calculator_uninstall | Implements hook_uninstall(). |