HomePhabricator

Make addOrUpdateForm/-Sense return the new Form/Sense

Authored by Lucas_Werkmeister_WMDE on Jul 24 2018, 5:10 PM.

Description

Make addOrUpdateForm/-Sense return the new Form/Sense

To maintain a link between the original BlankForm/BlankSense and the
newly created Form/Sense in ChangeOp{Form,Sense}Add (which is necessary
to keep track of the real entity ID of the new entity, see also previous
commit), make addOrUpdateForm/-Sense return the (possibly newly created)
Form/Sense, and use those functions instead of plain addForm/addSense,
which are hereby removed due to lack of production use.

Bug: T200255
Change-Id: I09c47a41efc23bdba50fa59713b468053538c674

Details