From 2e2e83bc620f6dc36fff1a1e9e9a20432410a4c5 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 17 Oct 2017 09:17:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=ADtpi=E7=9A=84=E9=A2=84?= =?UTF-8?q?=E6=9C=9F=E8=BE=93=E5=87=BA=E5=92=8C=E5=AE=9E=E9=99=85=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E7=94=B1=E4=B8=8A=E4=B8=8B=E5=B1=95=E7=A4=BA=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E6=88=90=E5=B7=A6=E5=8F=B32=E6=A0=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/comments_controller.rb | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 5180f94d6..c1357d064 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -42,21 +42,6 @@ class CommentsController < ApplicationController ids = params[:asset_id].split(',') update_kindeditor_assets_owner ids,@comment.id,OwnerTypeHelper::COMMENT end - # # ������ض�̬�ļ�¼add start - # if( @comment.id && @news.course ) - # if(@news.author_id != User.current.id) - # notify = ActivityNotify.new() - # notify.activity_container_id = @news.course.id - # notify.activity_container_type = 'Course' - # notify.activity_id = @comment.id - # notify.activity_type = 'Comment' - # notify.notify_to = @news.author_id - # notify.is_read = 0 - # notify.save() - # end - # end - # # ������ض�̬�ļ�¼add end - #flash[:notice] = l(:label_comment_added) update_course_activity(@news.class,@news.id) update_user_activity(@news.class,@news.id) update_org_activity(@news.class,@news.id)