Commit d7a695c5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

no need to update recorded_property_dict explicitly after modification or deletion.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30901 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71e0c2c8
......@@ -64,7 +64,6 @@ class PropertyRecordableMixin:
# XXX it is better to use getPropertyList only for list type
# properties or categories.
recorded_property_dict[id] = self.getPropertyList(id)
self.setRecordedPropertyDict(recorded_property_dict)
security.declareProtected(Permissions.ModifyPortalContent,
'clearRecordedProperty')
......@@ -78,8 +77,6 @@ class PropertyRecordableMixin:
del(recorded_property_dict[id])
except KeyError:
pass
else:
self.setRecordedPropertyDict(recorded_property_dict)
security.declareProtected(Permissions.AccessContentsInformation,
'getRecordedPropertyIdList')
......
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