ip_anon.module in IP Anonymize 8
Same filename and directory in other branches
Implements an IP address retention policy.
File
ip_anon.moduleView source
<?php
/**
* @file
* Implements an IP address retention policy.
*/
/**
* Implements hook_cron().
*/
function ip_anon_cron() {
if (\Drupal::config('ip_anon.settings')
->get('policy')) {
module_load_include('inc', 'ip_anon');
ip_anon_scrub();
}
}
Functions
Name | Description |
---|---|
ip_anon_cron | Implements hook_cron(). |