又一个course timeout问题
This commit is contained in:
parent
a8ab8fc45d
commit
e97caddbdb
|
@ -24,7 +24,7 @@ module WelcomeHelper
|
|||
|
||||
def welcome_join_in_course(project, user)
|
||||
if(user.logged? &&
|
||||
!(course_timeout? project) &&
|
||||
!(course_endTime_timeout? project) &&
|
||||
(project.course_extra.teacher.id != user.id)
|
||||
)
|
||||
join_in_course(project, user)
|
||||
|
|
Loading…
Reference in New Issue