From 2157d2150b07ed5ab9ac90cc0b2a9106c1ecf858 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 16 Sep 2014 12:17:38 +0000 Subject: the default profile's name should not be corrupted git-svn-id: http://svn.miranda-ng.org/main/trunk@10475 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/database/database.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index e3d140e3c6..41b2b105ae 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -308,11 +308,6 @@ static int getProfile(TCHAR *szProfile, size_t cch) getProfileCmdLine(szProfile, cch, g_profileDir); getProfileDefault(szProfile, cch, g_profileDir); - // if default profile was found, verify it - if (*szProfile) - if (touchDatabase(szProfile, 0) != 0) - *szProfile = 0; - if (IsInsideRootDir(g_profileDir, true)) { MessageBox(NULL, TranslateT("Profile cannot be placed into Miranda root folder.\nPlease move Miranda profile to some other location."), -- cgit v1.2.3