Commit 93e87be5 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

controllers/ edited messages lose their 'read' statuses so...

controllers/ edited messages lose their 'read' statuses so modifications are brought to the attention of all
parent 6f7d0881
......@@ -98,7 +98,6 @@ def edit():
# process submitted edit form
def edit_form():
#TODO delete parameters associated (would enable reusing messages)
if (not auth.is_admin()):
res = {"message": ACCESS_DENIED}
......@@ -124,6 +123,9 @@ def edit_form():
res = {"redirect": "notification/index",
"args" : { "id" : request.vars['id'] },
"message": "notification updated"}
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