use imapx for groupwise provider USE_IMAP option
authorChenthill Palanisamy <pchenthill@novell.com>
Tue, 2 Mar 2010 06:51:02 +0000 (12:21 +0530)
committerChenthill Palanisamy <pchenthill@novell.com>
Tue, 2 Mar 2010 07:04:50 +0000 (12:34 +0530)
camel/providers/groupwise/camel-groupwise-provider.c

index a42190e..125a44f 100644 (file)
@@ -129,13 +129,8 @@ camel_provider_module_init(void)
        CamelException ex = CAMEL_EXCEPTION_INITIALISER;
        gboolean use_imap = g_getenv ("USE_IMAP") != NULL;
 
-       if (use_imap) {
-#ifdef ENABLE_IMAPX
+       if (use_imap)
            imap_provider = camel_provider_get("imapx://", &ex);
-#else
-           imap_provider = camel_provider_get("imap://", &ex);
-#endif
-       }
 
        groupwise_provider.url_hash = groupwise_url_hash;
        groupwise_provider.url_equal = groupwise_url_equal;