Remove all async/await stuff

This commit is contained in:
Vortrex
2023-02-21 14:39:45 -06:00
parent 1cb02b9ab1
commit b4ac02f9ec
13 changed files with 100 additions and 94 deletions

View File

@@ -448,7 +448,7 @@ function saveServerDataCommand(command, params, client) {
// ===========================================================================
async function testEmailCommand(command, params, client) {
function testEmailCommand(command, params, client) {
sendEmail(params, "Player", "Test email", "Just testing the email system for the server!");
return true;
@@ -548,7 +548,7 @@ function isDevelopmentServer() {
// ===========================================================================
async function migrateSubAccountsToPerServerData() {
function migrateSubAccountsToPerServerData() {
let dbConnection = connectToDatabase();
let dbAssoc = [];
@@ -569,7 +569,7 @@ async function migrateSubAccountsToPerServerData() {
// ===========================================================================
async function resetAllAccountsHotkeysToDefault() {
function resetAllAccountsHotkeysToDefault() {
let dbConnection = connectToDatabase();
let dbAssoc = [];