From 940b26bd5d4bc27e350eee37f6f3227e450073e0 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Tue, 6 Jan 2009 13:17:24 +0300 Subject: [PATCH] [7037] Avoid unneeded #ifdef --- src/game/AccountMgr.cpp | 6 +----- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/game/AccountMgr.cpp b/src/game/AccountMgr.cpp index 6f9cbf414..a10b0575f 100644 --- a/src/game/AccountMgr.cpp +++ b/src/game/AccountMgr.cpp @@ -23,11 +23,7 @@ #include "Policies/SingletonImp.h" #include "Util.h" -#ifdef DO_POSTGRESQL -extern DatabasePostgre loginDatabase; -#else -extern DatabaseMysql loginDatabase; -#endif +extern DatabaseType loginDatabase; INSTANTIATE_SINGLETON_1(AccountMgr); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 5839fa16d..303930b1e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7036" + #define REVISION_NR "7037" #endif // __REVISION_NR_H__ -- 2.11.4.GIT