示例#1
0
        public static void ClearOverdueMails(DBManager dbMgr)
        {
            long nowTicks = DateTime.Now.Ticks / 10000L;

            if (nowTicks - UserMailManager.LastClearMailTicks >= 123428447L)
            {
                UserMailManager.LastClearMailTicks = nowTicks;
                DBWriter.ClearOverdueMails(dbMgr, DateTime.Now.AddDays(-15.0));
            }
        }