forked from rDrama/rDrama
fds
parent
d9ebb86d37
commit
ce7ae3dbd3
|
@ -315,7 +315,7 @@ def submit_contact(v):
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
new_comment.top_comment_id = new_comment.id
|
new_comment.top_comment_id = new_comment.id
|
||||||
|
|
||||||
for admin in g.db.query(User).filter(User.admin_level > 1).all():
|
for admin in g.db.query(User).filter(User.admin_level > 2).all():
|
||||||
notif = Notification(comment_id=new_comment.id, user_id=admin.id)
|
notif = Notification(comment_id=new_comment.id, user_id=admin.id)
|
||||||
g.db.add(notif)
|
g.db.add(notif)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue