fastly.install in Fastly 7.2
Same filename and directory in other branches
Fastly install.
File
fastly.installView source
<?php
/**
* @file
* Fastly install.
*/
/**
* Implements hook_uninstall().
*/
function fastly_uninstall() {
variable_del('fastly_used_registration');
variable_del('fastly_api_key');
variable_del('fastly_service_id');
variable_del('fastly_non_cached');
variable_del('fastly_webhook_url');
}
/**
* Delete old variable.
*/
function fastly_update_7200() {
// This variable was used for "Log API requests" option.
variable_del('fastly_log_enabled');
return t('fastly_log_enabled variable has been deleted.');
}
Functions
Name | Description |
---|---|
fastly_uninstall | Implements hook_uninstall(). |
fastly_update_7200 | Delete old variable. |