Move log message up to caller of import

This commit is contained in:
Vinnie Falco
2013-07-22 08:44:27 -07:00
parent d60fc410ae
commit 061865a5da
4 changed files with 24 additions and 54 deletions

View File

@@ -981,7 +981,13 @@ void ApplicationImp::updateTables ()
}
if (!theConfig.DB_IMPORT.empty())
{
WriteLog (lsWARNING, NodeObject) <<
"Node import from '" << theConfig.DB_IMPORT << "' to '"
<< getApp().getNodeStore().getName () << "'.";
getApp().getNodeStore().import(theConfig.DB_IMPORT);
}
}
//------------------------------------------------------------------------------