mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 18:44:22 +00:00
Do not include Item either if case is true.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2499 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -196,8 +196,6 @@ public class LoginChooser extends AbstractDSpaceTransformer implements
|
|||||||
final AuthenticationMethod authMethod = (AuthenticationMethod) authMethods
|
final AuthenticationMethod authMethod = (AuthenticationMethod) authMethods
|
||||||
.next();
|
.next();
|
||||||
|
|
||||||
final Item item = list.addItem();
|
|
||||||
|
|
||||||
HttpServletRequest hreq = (HttpServletRequest) this.objectModel
|
HttpServletRequest hreq = (HttpServletRequest) this.objectModel
|
||||||
.get(HttpEnvironment.HTTP_REQUEST_OBJECT);
|
.get(HttpEnvironment.HTTP_REQUEST_OBJECT);
|
||||||
|
|
||||||
@@ -225,6 +223,7 @@ public class LoginChooser extends AbstractDSpaceTransformer implements
|
|||||||
loginURL = location.toString();
|
loginURL = location.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
final Item item = list.addItem();
|
||||||
item.addXref(loginURL, message(authTitle));
|
item.addXref(loginURL, message(authTitle));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user