User profiles (bios) are now stored as MIME in the user config room. If a bio/ direc...
[citadel.git] / citadel / user_ops.c
index 1e8792d71d6a0cb9681c9bad800650a4da28e427..4e4d99204c9f43bdb36f4acabde82b74c9b33dc7 100644 (file)
@@ -1,7 +1,7 @@
 /* 
  * Server functions which perform operations on user objects.
  *
- * Copyright (c) 1987-2011 by the citadel.org team
+ * Copyright (c) 1987-2016 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.
@@ -1016,14 +1016,6 @@ int purge_user(char pname[])
        /* delete the userlog entry */
        cdb_delete(CDB_USERS, usernamekey, strlen(usernamekey));
 
-       /* remove the user's bio file */
-       snprintf(filename, 
-                        sizeof filename, 
-                        "%s/%ld",
-                        ctdl_bio_dir,
-                        usbuf.usernum);
-       unlink(filename);
-
        /* remove the user's picture */
        snprintf(filename, 
                         sizeof filename,