Remove the _userpic_ functionality from UIMG , it is useless now
authorArt Cancro <ajc@citadel.org>
Tue, 12 Apr 2016 23:37:56 +0000 (19:37 -0400)
committerArt Cancro <ajc@citadel.org>
Tue, 12 Apr 2016 23:37:56 +0000 (19:37 -0400)
citadel/modules/ctdlproto/serv_file.c

index 46e6959b7edd6c0a2438f48485cfe1a6ea5410f4..e780a703a3a4a0e55a379f7c2ff39f8b0e79451b 100644 (file)
@@ -398,13 +398,6 @@ void cmd_uimg(char *cmdbuf)
                                 basenm);
        }
 
-       if (!strcasecmp(basenm, "_userpic_")) {
-               snprintf(CC->upl_path, sizeof CC->upl_path,
-                                "%s/%ld.gif",
-                                ctdl_usrpic_dir,
-                                CC->user.usernum);
-       }
-
        if ((!strcasecmp(basenm, "_floorpic_"))
            && (CC->user.axlevel >= AxAideU)) {
                which_floor = extract_int(cmdbuf, 2);