Skip to content
Snippets Groups Projects
Commit e708dc6f authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

fix meta problems with undo

parent 11094995
Branches
No related tags found
No related merge requests found
......@@ -208,5 +208,7 @@ class Statement(db.Model):
def undo(self):
if not self.executed:
return False
self.topic.sorted_statements()[0].is_current = False
self.executed = False
self.execution_time = datetime(1970, 1, 1)
self.is_current = True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment