summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/RankManager.cpp7
-rw-r--r--src/RankManager.h5
2 files changed, 1 insertions, 11 deletions
diff --git a/src/RankManager.cpp b/src/RankManager.cpp
index 1f90f6aae..9e6100ffe 100644
--- a/src/RankManager.cpp
+++ b/src/RankManager.cpp
@@ -17,8 +17,7 @@
cRankManager::cRankManager(void) :
m_DB("Ranks.sqlite", SQLite::OPEN_READWRITE | SQLite::OPEN_CREATE),
- m_IsInitialized(false),
- m_MojangAPI(nullptr)
+ m_IsInitialized(false)
{
}
@@ -28,10 +27,6 @@ cRankManager::cRankManager(void) :
cRankManager::~cRankManager()
{
- if (m_MojangAPI != nullptr)
- {
- m_MojangAPI->SetRankManager(nullptr);
- }
}
diff --git a/src/RankManager.h b/src/RankManager.h
index e2600dde0..283713eeb 100644
--- a/src/RankManager.h
+++ b/src/RankManager.h
@@ -273,11 +273,6 @@ protected:
/** Set to true once the manager is initialized. */
bool m_IsInitialized;
- /** The MojangAPI instance that is used for keeping player names and UUIDs in sync.
- Set in Initialize(), may be nullptr. */
- cMojangAPI * m_MojangAPI;
-
-
/** Returns true if all the DB tables are empty, indicating a fresh new install. */
bool AreDBTablesEmpty(void);