You are here

securepages.install in Secure Pages 5

File

securepages.install
View source
<?php

/**
 * Implementation of hook_enable()
 */
function securepages_enable() {
  drupal_set_message(t('Secure pages needs to be enabled on !settings', array(
    '!settings' => l(t('admin/settings/securepages'), 'admin/settings/securepages'),
  )));
}

/**
 * Implementation of hook_uninstall()
 */
function securepages_uninstall() {
  variable_del('securepages_enable');
  variable_del('securepages_switch');
  variable_del('securepages_secure');
  variable_del('securepages_pages');
  variable_del('securepages_ignore');
}

/**
 * Implementation of hook_update_n()
 */
function securepages_update_1() {
  variable_set('securepages_enable', 1);
  return array();
}

Functions

Namesort descending Description
securepages_enable Implementation of hook_enable()
securepages_uninstall Implementation of hook_uninstall()
securepages_update_1 Implementation of hook_update_n()