Fixed calls from jsps to EditN3Utils.getEditorUri. Broken in r7579.

This commit is contained in:
rjy7 2011-03-11 21:39:50 +00:00
parent 316cb523c3
commit c892741970
5 changed files with 4 additions and 8 deletions

View file

@ -43,7 +43,7 @@
VitroRequest vreq = new VitroRequest(request);
WebappDaoFactory wdf = vreq.getWebappDaoFactory();
String editorUri = EditN3Utils.getEditorUri(request,session,application);
String editorUri = EditN3Utils.getEditorUri();
wdf = wdf.getUserAwareDaoFactory(editorUri);
DataProperty prop = wdf.getDataPropertyDao().getDataPropertyByURI(predicateUri);

View file

@ -74,7 +74,7 @@ public WebappDaoFactory getUnfilteredDaoFactory() {
//do the delete
if( request.getParameter("y") != null ) {
String editorUri = EditN3Utils.getEditorUri(request,session,application);
String editorUri = EditN3Utils.getEditorUri(request);
wdf = wdf.getUserAwareDaoFactory(editorUri);
if (prop.getStubObjectRelation()) {