mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 07:27:18 +00:00
remove unused code
Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
This commit is contained in:
parent
3cfbc9d3df
commit
42cf2b6377
@ -11,15 +11,6 @@ CDDeletionRestriction CDDeletionRestrictionsTable::Default = {
|
|||||||
|
|
||||||
void CDDeletionRestrictionsTable::LoadValuesFromDatabase() {
|
void CDDeletionRestrictionsTable::LoadValuesFromDatabase() {
|
||||||
|
|
||||||
uint32_t size = 0;
|
|
||||||
auto tableSize = CDClientDatabase::ExecuteQuery("SELECT COUNT(*) FROM CurrencyTable");
|
|
||||||
while (!tableSize.eof()) {
|
|
||||||
size = tableSize.getIntField(0, 0);
|
|
||||||
|
|
||||||
tableSize.nextRow();
|
|
||||||
}
|
|
||||||
|
|
||||||
tableSize.finalize();
|
|
||||||
|
|
||||||
auto& entries = GetEntriesMutable();
|
auto& entries = GetEntriesMutable();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user