Commit 00aea483 authored by Julian Rother's avatar Julian Rother
Browse files

Merge branch 'magnus' into 'master'

Benachrichtigungen für Kapitelmarker bei Moderatoren deaktiviert

See merge request videoaginfra/website!17
parents ecdc5819 cd399a94
......@@ -43,6 +43,7 @@ def suggest_chapter(lectureid):
lectureid, chapter_start, text,,, session.get('user', {'dbid':None})['dbid'], submitter
chapter = query('SELECT * FROM chapters WHERE id = ?', id)[0]
if not ismod():
notify_mods('chapter_submitted', course['id'], course=course, lecture=lecture, chapter=chapter)
if 'ref' in request.values:
return redirect(request.values['ref'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment