Commit df4dd642 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

[entity] drop redundant cache update

This ``cw_attr_cache`` update is redundant, ``_cw_update_attr_cache`` already do this step.
parent 61c4bdd70dd8
......@@ -537,7 +537,6 @@ class Entity(AppObject):
rql = 'INSERT %s X' % (cls.__regid__)
created = execute(rql, qargs).get_entity(0, 0)
created._cw_update_attr_cache(attrcache)
created.cw_attr_cache.update(attrcache)
cls._cw_handle_pending_relations(created.eid, pendingrels, execute)
return created
......
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