You are here

fastly.install in Fastly 7.2

Same filename and directory in other branches
  1. 8.3 fastly.install
  2. 7 fastly.install

Fastly install.

File

fastly.install
View 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

Namesort descending Description
fastly_uninstall Implements hook_uninstall().
fastly_update_7200 Delete old variable.