mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +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
|
//clear a specific group
|
||||||
std::string query = StringFormat("delete from group_id where groupid = %lu", (unsigned long)gid);
|
std::string query = StringFormat("delete from group_id where groupid = %lu", (unsigned long)gid);
|
||||||
auto results = QueryDatabase(query);
|
QueryDatabase(query);
|
||||||
|
|
||||||
if (!results.Success())
|
|
||||||
std::cout << "Unable to clear groups: " << results.ErrorMessage() << std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 Database::GetGroupID(const char* name){
|
uint32 Database::GetGroupID(const char* name){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user