projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug in username key usage that was causing email aliases to disappear
[citadel.git]
/
citadel
/
modules
/
upgrade
/
serv_upgrade.c
diff --git
a/citadel/modules/upgrade/serv_upgrade.c
b/citadel/modules/upgrade/serv_upgrade.c
index 1d29cfcd10d9ceea211857b6afa586a1b28bf0c7..86e2947f440bf5e072a19756abc7a1569de49f2c 100644
(file)
--- a/
citadel/modules/upgrade/serv_upgrade.c
+++ b/
citadel/modules/upgrade/serv_upgrade.c
@@
-4,7
+4,7
@@
* guesses about what kind of data format changes need to be applied, and
* we apply them transparently.
*
* guesses about what kind of data format changes need to be applied, and
* we apply them transparently.
*
- * Copyright (c) 1987-20
19
by the citadel.org team
+ * Copyright (c) 1987-20
20
by the citadel.org team
*
* This program is open source software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 3.
*
* This program is open source software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 3.
@@
-84,7
+84,7
@@
void fix_sys_user_name(void)
/* Delete any "user 0" accounts */
while (CtdlGetUserByNumber(&usbuf, -1) == 0) {
/* Delete any "user 0" accounts */
while (CtdlGetUserByNumber(&usbuf, -1) == 0) {
- makeuserkey(usernamekey, usbuf.fullname
, cutusername(usbuf.fullname)
);
+ makeuserkey(usernamekey, usbuf.fullname);
cdb_delete(CDB_USERS, usernamekey, strlen(usernamekey));
}
}
cdb_delete(CDB_USERS, usernamekey, strlen(usernamekey));
}
}