From 2ec7cc559846327439ba4c44dec0c3507d0d703e Mon Sep 17 00:00:00 2001
From: Ruben Pollan <meskio@sindominio.net>
Date: Mon, 1 May 2017 13:35:04 +0200
Subject: [bug] remove remanents of IMAP profiling code

- Resolves: #8870
---
 src/leap/bitmask/mail/imap/mailbox.py | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'src')

diff --git a/src/leap/bitmask/mail/imap/mailbox.py b/src/leap/bitmask/mail/imap/mailbox.py
index 3a1e8c10..f74910f9 100644
--- a/src/leap/bitmask/mail/imap/mailbox.py
+++ b/src/leap/bitmask/mail/imap/mailbox.py
@@ -645,8 +645,6 @@ class IMAPMailbox(object):
 
         d = defer.Deferred()
         reactor.callLater(0, self._do_fetch_flags, messages_asked, uid, d)
-        if PROFILE_CMD:
-            do_profile_cmd(d, "FETCH-ALL-FLAGS")
         return d
 
     def _do_fetch_flags(self, messages_asked, uid, d):
@@ -889,9 +887,6 @@ class IMAPMailbox(object):
                  uid when the copy succeed.
         :rtype: Deferred
         """
-        # if PROFILE_CMD:
-        #     do_profile_cmd(d, "COPY")
-
         # A better place for this would be  the COPY/APPEND dispatcher
         # in server.py, but qtreactor hangs when I do that, so this seems
         # to work fine for now.
-- 
cgit v1.2.3