Remove unuseful restart of ir.rule.domain_get

This commit is contained in:
Cédric Krier committed 2009-03-20 01:41:35 +01:00
1 parent 0ec34c9b19
commit 89baf71cf7
1 file changed
-5
-5
View File
@@ -152,11 +152,6 @@ class ModelStorage(Model):
self.raise_user_error(cursor, 'write_xml_record',
error_description='xml_record_desc',
context=context)
# Restart rule cache
if rule_group_obj.search(cursor, 0, [
('model.model', '=', self._name),
], context=context):
rule_obj.domain_get(cursor.dbname)
return False
def delete(self, cursor, user, ids, context=None):