# HG changeset patch # User Marco Cirillo # Date 1362221240 -3600 # Node ID dec71c31fb789df9ae7c3597cf7f0756b6628246 # Parent d3497b81a3b5e1b937f52b9d2fb781e83c59c606 mod_incidents_handling: run cleanup and save the store when a new object is added. diff -r d3497b81a3b5 -r dec71c31fb78 mod_incidents_handling/incidents_handling/mod_incidents_handling.lua --- a/mod_incidents_handling/incidents_handling/mod_incidents_handling.lua Tue Feb 26 16:11:20 2013 +0100 +++ b/mod_incidents_handling/incidents_handling/mod_incidents_handling.lua Sat Mar 02 11:47:20 2013 +0100 @@ -146,6 +146,7 @@ } self[new_object.data.id.text] = new_object + self:clean() ; self:save() return new_object.data.id.text else return false end end