<?php
error_reporting(E_ALL & ~E_NOTICE);
if (!is_object($vbulletin->db))
{
exit;
}
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "adminlog SET ipaddress = '' WHERE ipaddress <> ''");
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "moderatorlog SET ipaddress = '' WHERE ipaddress <> ''");
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "post SET ipaddress = '' WHERE ipaddress <> ''");
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "threadrate SET ipaddress = '' WHERE ipaddress <> ''");
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "search SET ipaddress = '' WHERE ipaddress <> ''");
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "guest SET hostip = '' WHERE hostip <> ''");
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET ipaddress = '' WHERE ipaddress <> ''");
log_cron_action('Delete IPs', $nextitem);
?>