aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 6d70fe5047..193f7a0af4 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -42,8 +42,6 @@
#include "camel/camel-folder.h"
#include "camel/camel-operation.h"
-#include "evolution-storage.h"
-
#include "mail.h"
#include "mail-mt.h"
#include "mail-component.h"
@@ -664,19 +662,7 @@ receive_update_got_store (char *uri, CamelStore *store, void *data)
struct _send_info *info = data;
if (store) {
- EStorage *storage = mail_component_lookup_storage (mail_component_peek (), store);
-
- if (storage) {
- mail_note_store(store, info->cancel, storage, receive_update_done, info);
- /*bonobo_object_unref (BONOBO_OBJECT (storage));*/
- } else {
- /* If we get here, store must be an external
- * storage other than /local. (Eg, Exchange).
- * Do a get_folder_info just to force it to
- * update itself.
- */
- mail_get_folderinfo(store, info->cancel, receive_update_got_folderinfo, info);
- }
+ mail_get_folderinfo (store, info->cancel, receive_update_got_folderinfo, info);
} else {
receive_done ("", info);
}