Ejemplo n.º 1
0
        public virtual void UnDelete(long id)
        {
            ContentPost post = postService.GetById_ForAdmin(id);

            if (post == null)
            {
                echoRedirect(lang("exDataNotFound")); return;
            }

            postService.UnDelete(post);
            log(SiteLogString.SystemUnDeleteContentPost(), post);
            redirect(Trash);
        }