You are here

ip_anon.module in IP Anonymize 6

Same filename and directory in other branches
  1. 8 ip_anon.module
  2. 5 ip_anon.module
  3. 7 ip_anon.module

Establishes an IP address retention policy.

File

ip_anon.module
View source
<?php

/**
 * @file
 * Establishes an IP address retention policy.
 */

/**
 * Implementation of hook_menu().
 */
function ip_anon_menu() {
  $items = array();
  $items['admin/settings/ip_anon'] = array(
    'title' => 'IP anonymize',
    'description' => 'Configure the IP address retention policy.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'ip_anon_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'ip_anon.pages.inc',
  );
  return $items;
}

/**
 * Implementation of hook_cron().
 */
function ip_anon_cron() {
  module_load_include('pages.inc', 'ip_anon');
  ip_anon_cron_run();
}

Functions

Namesort descending Description
ip_anon_cron Implementation of hook_cron().
ip_anon_menu Implementation of hook_menu().