You are here

function ip_anon_tables in IP Anonymize 7

Same name and namespace in other branches
  1. 8 ip_anon.inc \ip_anon_tables()
  2. 5 ip_anon.module \ip_anon_tables()
  3. 6 ip_anon.pages.inc \ip_anon_tables()

Array of tables and columns which store hostnames and timestamps.

Modules may add tables by implementing hook_ip_anon_alter().

2 calls to ip_anon_tables()
ip_anon_scrub in ./ip_anon.inc
Anonymize IP addresses which have exceeded the retention period.
ip_anon_settings in ./ip_anon.inc
Configuration options for IP Anonymize.

File

./ip_anon.inc, line 102
Page callbacks and utility functions for IP Anonymize module.

Code

function ip_anon_tables() {
  $tables = array(
    'sessions' => ip_anon_columns(),
  );
  drupal_alter('ip_anon', $tables);
  return $tables;
}