[evolution-data-server] imapx_query_auth_types_sync: Remove offline check.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] imapx_query_auth_types_sync: Remove offline check.
- Date: Mon, 3 Feb 2014 16:59:55 +0000 (UTC)
commit 26c6f521c18361aeeb26061bb2af4d6dacab4a64
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Feb 3 11:54:53 2014 -0500
imapx_query_auth_types_sync: Remove offline check.
Let the operation fail naturally when the IMAP server isn't reachable.
camel/providers/imapx/camel-imapx-store.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-store.c b/camel/providers/imapx/camel-imapx-store.c
index 869529e..73809e0 100644
--- a/camel/providers/imapx/camel-imapx-store.c
+++ b/camel/providers/imapx/camel-imapx-store.c
@@ -1051,14 +1051,6 @@ imapx_query_auth_types_sync (CamelService *service,
GList *t, *next;
CamelIMAPXServer *server;
- if (!camel_offline_store_get_online (CAMEL_OFFLINE_STORE (service))) {
- g_set_error (
- error, CAMEL_SERVICE_ERROR,
- CAMEL_SERVICE_ERROR_UNAVAILABLE,
- _("You must be working online to complete this operation"));
- return NULL;
- }
-
server = camel_imapx_server_new (CAMEL_IMAPX_STORE (service));
if (!imapx_connect_to_server (server, cancellable, error))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]