예제 #1
0
파일: Users.cs 프로젝트: terryxym/DiscuzNT
        /// <summary>
        /// 更新被禁止的用户
        /// </summary>
        /// <param name="groupid">用户组id</param>
        /// <param name="groupexpiry">过期时间</param>
        /// <param name="uid">用户id</param>
        public static void UpdateBanUser(int groupid, string groupexpiry, int uid)
        {
            DatabaseProvider.GetInstance().UpdateBanUser(groupid, groupexpiry, uid);

            if (appDBCache)
                IUserService.UpdateBanUser(groupid, groupexpiry, uid);
        }