]> andersk Git - moira.git/blobdiff - regtape/employee.pc
Remove `delete_user_by_uid' since it's never been used in any logs we have,
[moira.git] / regtape / employee.pc
index c9a10ded2f1f993fed03acb709116125a9f2acd0..ab181ad082c3ce84c837ea06584675596e967f66 100644 (file)
@@ -64,7 +64,6 @@ struct entry {
     char *address;
     char *phone;
     char *phone2;
-    char *email;
 };
 
 
@@ -159,7 +158,7 @@ struct entry *get_next_entry(in)
 FILE *in;
 {
     static struct entry e;
-    static char buf[BUFSIZ], mid[16], eid[16], email[256];
+    static char buf[BUFSIZ], mid[16], eid[16];
     static char name[LEN_NAME+1], sname[LEN_NAME+1], id[LEN_ID+1];
     static char office[LEN_OFFICE+1], phone[LEN_PHONE+1], phone2[LEN_PHONE2+1];
     static char dept[LEN_DEPT+1], title[LEN_TITLE+1], username[LEN_USERNAME+1];
@@ -228,11 +227,6 @@ FILE *in;
     if (substr(e.title, "PROF") || substr(e.title, "LECTURE"))
       e.class = "FACULTY";
 
-    strcpy(email, strtrim(username));
-    if (host[0] == '@')
-      strncat(email, strtrim(host));
-    e.email = email;
-
     return(&e);
 }
 
This page took 0.034675 seconds and 4 git commands to generate.