aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Lin <Zhan>2015-03-26 10:34:37 +0800
committerGravatar Lin <Zhan>2015-03-26 10:34:37 +0800
commitf88d99aaba9a98bee0724f319dec7c646b3e2f0e (patch)
treef9708e0b44f7b4d31cc107e1dbd2296771175ce8 /src
parentadcbd833d3afa9bafeb39656f168081ee2e3c2bf (diff)
Revert "Revert 1d9f50b..0f1d628"
Diffstat (limited to 'src')
-rwxr-xr-xsrc/core/imap/MCIMAPSession.cpp10
-rwxr-xr-xsrc/core/imap/MCIMAPSession.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/src/core/imap/MCIMAPSession.cpp b/src/core/imap/MCIMAPSession.cpp
index 19625e7f..82403f5a 100755
--- a/src/core/imap/MCIMAPSession.cpp
+++ b/src/core/imap/MCIMAPSession.cpp
@@ -486,16 +486,6 @@ bool IMAPSession::isVoIPEnabled()
return mVoIPEnabled;
}
-void IMAPSession::setNetEaseWorkaroundEnabled(bool enabled)
-{
- mNetEaseWorkaroundEnabled = enabled;
-}
-
-bool IMAPSession::isNetEaseWorkaroundEnabled()
-{
- return mNetEaseWorkaroundEnabled;
-}
-
static bool hasError(int errorCode)
{
return ((errorCode != MAILIMAP_NO_ERROR) && (errorCode != MAILIMAP_NO_ERROR_AUTHENTICATED) &&
diff --git a/src/core/imap/MCIMAPSession.h b/src/core/imap/MCIMAPSession.h
index fa543768..6bec1592 100755
--- a/src/core/imap/MCIMAPSession.h
+++ b/src/core/imap/MCIMAPSession.h
@@ -59,9 +59,6 @@ namespace mailcore {
virtual void setVoIPEnabled(bool enabled);
virtual bool isVoIPEnabled();
- virtual void setNetEaseWorkaroundEnabled(bool enabled);
- virtual bool isNetEaseWorkaroundEnabled();
-
// Needed for fetchSubscribedFolders() and fetchAllFolders().
virtual void setDefaultNamespace(IMAPNamespace * ns);
virtual IMAPNamespace * defaultNamespace();