mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Remove Duplicative MySQL Error: Unable to clear groups:
This commit is contained in:
parent
c9fd7e45e8
commit
2b091206bd
@ -3185,10 +3185,7 @@ void Database::ClearGroup(uint32 gid) {
|
||||
|
||||
//clear a specific group
|
||||
std::string query = StringFormat("delete from group_id where groupid = %lu", (unsigned long)gid);
|
||||
auto results = QueryDatabase(query);
|
||||
|
||||
if (!results.Success())
|
||||
std::cout << "Unable to clear groups: " << results.ErrorMessage() << std::endl;
|
||||
QueryDatabase(query);
|
||||
}
|
||||
|
||||
uint32 Database::GetGroupID(const char* name){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user