]> andersk Git - moira.git/commitdiff
An IMAP filesys might exist even if the user's potype isn't 'IMAP'.
authorzacheiss <zacheiss>
Sat, 30 Dec 2000 04:18:32 +0000 (04:18 +0000)
committerzacheiss <zacheiss>
Sat, 30 Dec 2000 04:18:32 +0000 (04:18 +0000)
Don't bother doing that check.

server/qsupport.pc

index 63c7e9e1f63a8ad3c14ddb43f2feb63ab2acde8e..ed189adfd1dbdddd52b5be6bbcffbdfbeff04abe 100644 (file)
@@ -1478,11 +1478,7 @@ int register_user(struct query *q, char **argv, client *cl)
        return mr_errcode;
       if ((ostatus == 0) || (tmp != users_id))
        return MR_IN_USE;
-      EXEC SQL SELECT count(potype) INTO :rowcount FROM users WHERE
-       login = :login AND potype = 'IMAP';
-      if (dbms_errno)
-       return mr_errcode;
-      if (rowcount > 0)
+      else
        po_exists = 1;
     }
   EXEC SQL SELECT COUNT(name) INTO :rowcount FROM alias
This page took 1.688801 seconds and 5 git commands to generate.