[Persistence] Remove persistence usage from LinkService

This commit is contained in:
Victor Woeltjen 2016-04-29 11:38:40 -07:00
parent dd6414daf0
commit 0e683acde1

View File

@ -65,12 +65,7 @@ define(
);
}
return parentObject.getCapability('composition').add(object)
.then(function (objectInNewContext) {
return parentObject.getCapability('persistence')
.persist()
.then(function () { return objectInNewContext; });
});
return parentObject.getCapability('composition').add(object);
};
return LinkService;