Core/GuildFinder: Remove as preparation for 9.1.5

This commit is contained in:
Shauren
2021-11-02 18:14:49 +01:00
parent 6305b290c9
commit edc94e8ae8
15 changed files with 4 additions and 1382 deletions

View File

@@ -27,7 +27,6 @@
#include "DatabaseEnv.h"
#include "DB2Stores.h"
#include "GameTime.h"
#include "GuildFinderMgr.h"
#include "GuildMgr.h"
#include "GuildPackets.h"
#include "Language.h"
@@ -1254,8 +1253,6 @@ void Guild::Disband()
CharacterDatabase.CommitTransaction(trans);
sGuildFinderMgr->DeleteGuild(GetGUID());
sGuildMgr->RemoveGuild(m_id);
}
@@ -2751,8 +2748,6 @@ bool Guild::AddMember(CharacterDatabaseTransaction& trans, ObjectGuid guid, uint
joinNotificationPacket.VirtualRealmAddress = GetVirtualRealmAddress();
BroadcastPacket(joinNotificationPacket.Write());
sGuildFinderMgr->RemoveAllMembershipRequestsFromPlayer(guid);
// Call scripts if member was succesfully added (and stored to database)
sScriptMgr->OnGuildAddMember(this, player, rankId);