ip_anon.module in IP Anonymize 6
Same filename and directory in other branches
Establishes an IP address retention policy.
File
ip_anon.moduleView 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
Name | Description |
---|---|
ip_anon_cron | Implementation of hook_cron(). |
ip_anon_menu | Implementation of hook_menu(). |