Beispiel #1
0
        public void UnBan(User moderator, Host host)
        {
            this.IsBanned = false;
            this.Save();
            this.UpdateStoryCommentShoutSpamStatus(false);

            EmailHelper.SendUserUnBanEmail(this, host);
            UserAction.RecordUserUnBan(this.HostID, this, moderator);
            UserCache.RemoveUser(this.UserID);
        }