diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index 4ddf5186d..696511100 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -31,7 +31,6 @@ class CoursesController < ApplicationController members = [] members << Member.new(:role_ids => [10], :user_id => User.current.id) course.members << members - StudentsForCourse.create(:student_id => User.current.id, :course_id => params[:object_id]) @state = 0 else