aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2010-06-07 09:37:36 +0200
committerSpp <spp@jorge.gr>2010-06-07 09:37:36 +0200
commite7bb8bca1e1345d398efff92a645ae01fc18ed29 (patch)
treec02d76f2bdc804686071068ed7e90b83b95277cc /src
parentf260a4d4ad5cd9d0002e85c60b6c824bf9d44366 (diff)
Group::Disband: remove no longer needed code check.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Groups/Group.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp
index acd19e02838..f5840e2c287 100644
--- a/src/server/game/Groups/Group.cpp
+++ b/src/server/game/Groups/Group.cpp
@@ -486,13 +486,6 @@ void Group::Disband(bool hideDestroy)
CharacterDatabase.CommitTransaction();
ResetInstances(INSTANCE_RESET_GROUP_DISBAND, false, NULL);
ResetInstances(INSTANCE_RESET_GROUP_DISBAND, true, NULL);
- // FIXME - Safe check! Debug purposes - Will remove after a time if got no reports
- QueryResult_AutoPtr result = CharacterDatabase.PQuery("SELECT COUNT(1) FROM group_instance WHERE guid=%u", lowguid);
- if (result)
- {
- sLog.outError("Group::Disband: %u instances are not being properly deleted from group %u", (*result)[0].GetUInt8(), lowguid);
- CharacterDatabase.PExecute("DELETE FROM group_instance WHERE guid=%u", lowguid);
- }
}
m_guid = 0;