function ip_anon_tables in IP Anonymize 5
Same name and namespace in other branches
- 8 ip_anon.inc \ip_anon_tables()
- 6 ip_anon.pages.inc \ip_anon_tables()
- 7 ip_anon.inc \ip_anon_tables()
Array of tables and columns which store hostnames and timestamps.
2 calls to ip_anon_tables()
- ip_anon_cron in ./
ip_anon.module - Implementation of hook_cron().
- ip_anon_settings in ./
ip_anon.module - Configuration options for IP anonymize.
File
- ./
ip_anon.module, line 73 - Establishes an IP address retention policy.
Code
function ip_anon_tables() {
$columns = drupal_map_assoc(array(
'hostname',
'timestamp',
));
$tables = array(
'accesslog' => $columns,
'comments' => $columns,
'flood' => $columns,
'sessions' => $columns,
'watchdog' => $columns,
);
return $tables;
}