aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/AddonMgr.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/AddonMgr.cpp b/src/game/AddonMgr.cpp
index 6aad7ef3c0a..1c84ade9cc9 100644
--- a/src/game/AddonMgr.cpp
+++ b/src/game/AddonMgr.cpp
@@ -42,14 +42,6 @@ AddonMgr::~AddonMgr()
void AddonMgr::LoadFromDB()
{
- QueryResult *result = CharacterDatabase.PQuery("SELECT COUNT(name) FROM addons");
- if (!result)
- {
- sLog.outError("an error occured while loading the table `addons`");
- exit(1);
- }
- delete result;
-
result = CharacterDatabase.PQuery("SELECT name, crc FROM addons");
if(!result)
{