summaryrefslogtreecommitdiff
path: root/src/modules/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database')
-rw-r--r--src/modules/database/database.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index c8743b3b30..94adf17742 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -428,7 +428,7 @@ static int FindDbPluginForProfile(const char*, DATABASELINK * dblink, LPARAM lPa
int err = 0;
if (dblink->grokHeader(szProfile, &err) == 0) {
// added APIs?
- if ( !dblink->Load(szProfile, &pluginCoreLink)) {
+ if ( !dblink->Load(szProfile)) {
fillProfileName(tszProfile);
res = DBPE_DONE;
}
@@ -465,7 +465,7 @@ static int FindDbPluginAutoCreate(const char*, DATABASELINK * dblink, LPARAM lPa
char *szProfile = makeFileName(tszProfile);
if (dblink->makeDatabase(szProfile, &err) == 0) {
dbCreated = true;
- if ( !dblink->Load(szProfile, &pluginCoreLink)) {
+ if ( !dblink->Load(szProfile)) {
fillProfileName(tszProfile);
res = DBPE_DONE;
}