42 removed (but current state is dangerous: works only for admins
This commit is contained in:
parent
68cc79e5f3
commit
89d21580aa
@ -893,8 +893,7 @@ postCUserR tid ssh csh uCId = do
|
||||
mRegAt <- traverse (formatTime SelFormatDateTime) $ courseParticipantRegistration <$> registration
|
||||
((registerRes,registerView), registerEnctype) <- runFormPost $ registerForm (Just uid) registration Nothing Nothing -- Lecturers are never asked their own register secret
|
||||
formResult registerRes $ \(mbSfId, _secretCorrect) -> if -- lecturers need no secret verification
|
||||
-- | isRegistered -> do
|
||||
| 1 + 2 < 42 -> do
|
||||
| isJust registration -> do
|
||||
runDB $ deleteBy $ UniqueParticipant uid cid
|
||||
addMessageI Info MsgCourseDeregisterOk
|
||||
| otherwise -> do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user