Restructure and refactoring of database convert/upgrade check routine, breaking out to individual functions

This commit is contained in:
Akkadius
2014-11-23 23:46:06 -06:00
parent e4f45d7b35
commit 3c2b8d13b9
6 changed files with 619 additions and 623 deletions
-3
View File
@@ -336,9 +336,6 @@ int main(int argc, char** argv) {
_log(WORLD__INIT, "Reboot zone modes %s",holdzones ? "ON" : "OFF");
_log(WORLD__INIT, "Deleted %i stale player corpses from database", database.DeleteStalePlayerCorpses());
if (RuleB(World, DeleteStaleCorpeBackups) == true) {
_log(WORLD__INIT, "Deleted %i stale player backups from database", database.DeleteStalePlayerBackups());
}
_log(WORLD__INIT, "Loading adventures...");
if(!adventure_manager.LoadAdventureTemplates())