Remove all references to userpic dir other than those required for ingesting legacy...
[citadel.git] / citadel / utils / ctdlmigrate.c
index 18b10f511bcc50b1898e3471afcf0b513394870b..d89a77e5b38b879814e1a37fc1d36a0be5415f83 100644 (file)
@@ -248,18 +248,10 @@ FAIL:     if (sourcefp) pclose(sourcefp);
        while ((fgets(buf, sizeof buf, sourcefp)) && (strcmp(buf, "000"))) {
                buf[strlen(buf)-1] = 0;
 
-               if (!strncasecmp(buf, "bio|", 4)) {
-                       snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
-                               socket_path, remote_user, remote_host, &buf[4], ctdl_bio_dir);
-               }
-               else if (!strncasecmp(buf, "files|", 6)) {
+               if (!strncasecmp(buf, "files|", 6)) {
                        snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
                                socket_path, remote_user, remote_host, &buf[6], ctdl_file_dir);
                }
-               else if (!strncasecmp(buf, "userpics|", 9)) {
-                       snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
-                               socket_path, remote_user, remote_host, &buf[9], ctdl_usrpic_dir);
-               }
                else if (!strncasecmp(buf, "messages|", 9)) {
                        snprintf(cmd, sizeof cmd, "rsync -va --rsh='ssh -S %s' %s@%s:%s/ %s/",
                                socket_path, remote_user, remote_host, &buf[9], ctdl_message_dir);