Commit cd399a94 authored by Magnus Giesbert's avatar Magnus Giesbert
Browse files

Benachrichtigungen für Kapitelmarker bei Moderatoren deaktiviert

parent ecdc5819
......@@ -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'])
Supports Markdown
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