(Stuart Lewis) - Changed scope of ldapGroup variable as it didn't need to be a class variable.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3147 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Stuart Lewis
2008-09-22 09:57:38 +00:00
parent 2e31496215
commit 8eb186cf98
2 changed files with 2 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ public class LDAPAuthentication
String groupName = ConfigurationManager.getProperty("ldap.login.specialgroup");
if ((groupName != null) && (!groupName.trim().equals("")))
{
ldapGroup = Group.findByName(context, groupName);
Group ldapGroup = Group.findByName(context, groupName);
if (ldapGroup == null)
{
// Oops - the group isn't there.