forked from MagicBane/Server
Refactored out duplicate db interface.
This commit is contained in:
@@ -311,12 +311,6 @@ public class LoginServer {
|
||||
return false;
|
||||
}
|
||||
|
||||
PreparedStatementShared.submitPreparedStatementsCleaningJob();
|
||||
|
||||
if (MBServerStatics.DB_DEBUGGING_ON_BY_DEFAULT) {
|
||||
PreparedStatementShared.enableDebugging();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -534,12 +534,6 @@ public class WorldServer {
|
||||
return false;
|
||||
}
|
||||
|
||||
PreparedStatementShared.submitPreparedStatementsCleaningJob();
|
||||
|
||||
if (MBServerStatics.DB_DEBUGGING_ON_BY_DEFAULT) {
|
||||
PreparedStatementShared.enableDebugging();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user