From bc6db4adc71946fd909807d5430dfc4ad0513383 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Tue, 2 Dec 2014 08:45:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A=E8=80=81=E5=B8=88=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/homework_attach_controller.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/homework_attach_controller.rb b/app/controllers/homework_attach_controller.rb index 28bac9627..816ee0bf8 100644 --- a/app/controllers/homework_attach_controller.rb +++ b/app/controllers/homework_attach_controller.rb @@ -570,9 +570,6 @@ class HomeworkAttachController < ApplicationController #获取课程的老师列表 def find_course_teachers course - t = [] - course.members.map{|m| t << m.user_id if m.user.allowed_to?(:as_teacher,course)} - teachers = "(" teacher_members = searchTeacherAndAssistant(course) teacher_members.each do |member|