mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 10:58:20 +00:00
[Cleanup] Remove DBInitVars(), HandleMysqlError(), and IsChatChannelInDB() in ucs/database.h (#3113)
# Notes - These are unused.
This commit is contained in:
@@ -283,18 +283,6 @@ void UCSDatabase::LoadFilteredNamesFromDB()
|
||||
LogInfo("Loaded [{}] filtered channel name(s)", names.size());
|
||||
}
|
||||
|
||||
bool UCSDatabase::IsChatChannelInDB(const std::string& channel_name)
|
||||
{
|
||||
auto r = ChatchannelsRepository::Count(
|
||||
*this,
|
||||
fmt::format(
|
||||
"name = {}", Strings::Escape(channel_name)
|
||||
)
|
||||
);
|
||||
|
||||
return r > 0;
|
||||
}
|
||||
|
||||
void UCSDatabase::SaveChatChannel(
|
||||
const std::string& channel_name,
|
||||
const std::string& channel_owner,
|
||||
|
||||
Reference in New Issue
Block a user