$vbulletin->db->query_first("UPDATE `" . TABLE_PREFIX . "post` SET `lastedit` = UNIX_TIMESTAMP() WHERE `" . TABLE_PREFIX . "post`.`postid` = $id LIMIT 1");
$vbulletin->db->query_first("UPDATE `" . TABLE_PREFIX . "thread` SET `lastedit` = UNIX_TIMESTAMP() WHERE `" . TABLE_PREFIX . "thread`.`threadid` = $threadinfo[threadid] LIMIT 1");