[Persistence] Remove caching of persistence capability
...as this no longer needs to be invoked directly.
This commit is contained in:
@@ -55,8 +55,6 @@ define(
|
|||||||
timespans[id] = timespan;
|
timespans[id] = timespan;
|
||||||
// And its mutation capability
|
// And its mutation capability
|
||||||
mutations[id] = domainObject.getCapability('mutation');
|
mutations[id] = domainObject.getCapability('mutation');
|
||||||
// Also cache the persistence capability for later
|
|
||||||
persists[id] = domainObject.getCapability('persistence');
|
|
||||||
// And the composition, for bulk moves
|
// And the composition, for bulk moves
|
||||||
compositions[id] = domainObject.getModel().composition || [];
|
compositions[id] = domainObject.getModel().composition || [];
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user