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)