mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/GuildFinder: Remove as preparation for 9.1.5
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user