Browse Source

Handler added to create single account

master
MagicBot 3 years ago
parent
commit
0beb75c9fb
  1. 8
      src/engine/db/handlers/dbAccountHandler.java

8
src/engine/db/handlers/dbAccountHandler.java

@ -121,6 +121,14 @@ public class dbAccountHandler extends dbHandlerBase { @@ -121,6 +121,14 @@ public class dbAccountHandler extends dbHandlerBase {
executeUpdate();
}
public void CREATE_SINGLE(String accountName, String password) {
prepareCallable("CALL singleAccountCreate(`?`,`?");
setString(1, accountName);
setString(2, password);
executeUpdate();
}
public Account GET_ACCOUNT(String uname) {
if (Account.AccountsMap.get(uname) != null)

Loading…
Cancel
Save