- Timestamp:
- 2021-08-12T17:53:14+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/ModifyUsersDB.java
r30196 r35286 1 1 /* 2 * txt2usersDB.java2 * ModifyUsersDB.java 3 3 * Copyright (C) 2008 New Zealand Digital Library, http://www.nzdl.org 4 4 * … … 134 134 if (password.equals("")) 135 135 { 136 password = user.password; // already stored hashed-and-hexed in DB136 password = user.getPassword(); // already stored hashed-and-hexed in DB 137 137 } 138 138 if (groups.equals("")) 139 139 { 140 groups = user.groups;140 groups = user.getOrigGroups(); 141 141 } 142 142 if (accountstatus.equals("")) 143 143 { 144 accountstatus = user.accountstatus.equals("") ? "true" : user.accountstatus;144 accountstatus = user.getAccountStatus().equals("") ? "true" : user.getAccountStatus(); 145 145 } 146 146 if (comment.equals("")) 147 147 { 148 comment = user.comment;148 comment = user.getComment(); 149 149 } 150 150 if (email.equals("")) 151 151 { 152 email = user.email;152 email = user.getEmail(); 153 153 } 154 154
Note:
See TracChangeset
for help on using the changeset viewer.