aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/nntp
diff options
context:
space:
mode:
authorGravatar Daryle Walker <dwalker07@yahoo.com>2015-12-29 15:42:16 -0500
committerGravatar Daryle Walker <dwalker07@yahoo.com>2015-12-29 15:42:16 -0500
commitb0635b9e8f3ba3b48d1335b95ff32bd1731d74b5 (patch)
tree1a02da292f1fc626dac0a7978a4229a8086dae72 /src/core/nntp
parent0a06951d94e560268811c5f004574e56ba2c3e94 (diff)
Follow suggestions from @dinhviethoa.
Follow suggestions to remove one unnecessary overload and to mark other as depreciated. (A third suggestion was covered by another commit.)
Diffstat (limited to 'src/core/nntp')
-rw-r--r--src/core/nntp/MCNNTPSession.cpp5
-rw-r--r--src/core/nntp/MCNNTPSession.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/core/nntp/MCNNTPSession.cpp b/src/core/nntp/MCNNTPSession.cpp
index bc86ebbc..933f10f2 100644
--- a/src/core/nntp/MCNNTPSession.cpp
+++ b/src/core/nntp/MCNNTPSession.cpp
@@ -493,11 +493,6 @@ Data * NNTPSession::fetchArticleByMessageID(String * messageID, ErrorCode * pErr
return result;
}
-Data * NNTPSession::fetchArticleByMessageID(String * groupName, String * messageID, ErrorCode * pError)
-{
- return this->fetchArticleByMessageID(messageID, pError);
-}
-
time_t NNTPSession::fetchServerDate(ErrorCode * pError) {
int r;
struct tm time;
diff --git a/src/core/nntp/MCNNTPSession.h b/src/core/nntp/MCNNTPSession.h
index c39cf727..ec0080ed 100644
--- a/src/core/nntp/MCNNTPSession.h
+++ b/src/core/nntp/MCNNTPSession.h
@@ -54,7 +54,6 @@ namespace mailcore {
virtual Data * fetchArticle(String *groupName, unsigned int index, NNTPProgressCallback * callback, ErrorCode * pError);
virtual Data * fetchArticleByMessageID(String * messageID, ErrorCode * pError);
- virtual Data * fetchArticleByMessageID(String * groupname, String * messageID, ErrorCode * pError);
virtual time_t fetchServerDate(ErrorCode * pError);