aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-contacts.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exchange-operations/exchange-contacts.c')
-rw-r--r--plugins/exchange-operations/exchange-contacts.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c
index 936b64deaf..7e6df68544 100644
--- a/plugins/exchange-operations/exchange-contacts.c
+++ b/plugins/exchange-operations/exchange-contacts.c
@@ -311,19 +311,14 @@ e_exchange_contacts_check (EPlugin *epl, EConfigHookPageCheckData *data)
base_uri = e_source_group_peek_base_uri (group);
exchange_config_listener_get_offline_status (exchange_global_config_listener,
&offline_status);
- if (base_uri) {
- if (!g_ascii_strncasecmp (base_uri, "exchange", 8)) {
- if (offline_status == OFFLINE_MODE)
- return FALSE;
- if (rel_uri && !strlen (rel_uri)) {
- return FALSE;
- }
- }
- else
- return FALSE;
+ if (base_uri && !g_ascii_strncasecmp (base_uri, "exchange", 8)) {
+ if (offline_status == OFFLINE_MODE)
+ return FALSE;
+ if (rel_uri && !strlen (rel_uri))
+ return FALSE;
}
else {
- return FALSE;
+ return TRUE;
}
if (!contacts_src_exists) {