diff --git a/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/IndividualTemplateModel.java b/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/IndividualTemplateModel.java index 4f1b4dde..8b59684b 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/IndividualTemplateModel.java +++ b/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/IndividualTemplateModel.java @@ -136,22 +136,6 @@ public class IndividualTemplateModel extends BaseIndividualTemplateModel { return getVisUrl(mapOfScienceVisURL); } - public String getSelfEditingId() { - String id = null; - String idMatchingProperty = ConfigurationProperties.getBean(getServletContext()).getProperty("selfEditing.idMatchingProperty"); - if (! StringUtils.isBlank(idMatchingProperty)) { - // Use assertions model to side-step filtering. We need to get the value regardless of whether the property - // is visible to the current user. - WebappDaoFactory wdf = vreq.getAssertionsWebappDaoFactory(); - Collection ids = - wdf.getDataPropertyStatementDao().getDataPropertyStatementsForIndividualByDataPropertyURI(individual, idMatchingProperty); - if (ids.size() > 0) { - id = ids.iterator().next().getData(); - } - } - return id; - } - public Map doQrData() { if(qrData == null) qrData = generateQrData();