remove unused code

Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
This commit is contained in:
Aaron Kimbrell
2024-06-06 21:33:42 -05:00
committed by GitHub
parent 3cfbc9d3df
commit 42cf2b6377

View File

@@ -11,15 +11,6 @@ CDDeletionRestriction CDDeletionRestrictionsTable::Default = {
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();