diff --git a/mifosng-provider/src/main/java/org/mifosplatform/organisation/staff/domain/Staff.java b/mifosng-provider/src/main/java/org/mifosplatform/organisation/staff/domain/Staff.java index 2f7ce32ac..416eb51fe 100644 --- a/mifosng-provider/src/main/java/org/mifosplatform/organisation/staff/domain/Staff.java +++ b/mifosng-provider/src/main/java/org/mifosplatform/organisation/staff/domain/Staff.java @@ -194,12 +194,6 @@ public class Staff extends AbstractPersistable { this.joiningDate = newValue.toDate(); } - final String imageIdParamName = "imageId"; - if (command.isChangeInLongParameterNamed(imageIdParamName, this.image.getId())) { - final Long newValue = command.longValueOfParameterNamed(officeIdParamName); - actualChanges.put(officeIdParamName, newValue); - } - return actualChanges; }