<?php error_reporting(E_ALL & ~E_NOTICE); if (!is_object($DB_site)) { exit; } $DB_site->query("UPDATE " . TABLE_PREFIX . "user SET usergroupid = 2 WHERE usergroupid = 15 AND lastpost < " . (TIMENOW-45*86400)); log_cron_action('Inactive VIP Users reset to Registered', $nextitem); ?>