Commit 6c29ac7c authored by Ronan Abhamon's avatar Ronan Abhamon

fix(src/components/core/CoreManager): remove usage of undefined function...

fix(src/components/core/CoreManager): remove usage of undefined function (`getZrtpSecretsFile`) and remove tabs
parent 58ee8ae7
......@@ -92,18 +92,13 @@ void CoreManager::setDatabasesPaths () {
}
void CoreManager::setOtherPaths () {
if (mCore->getZrtpSecretsFile().empty())
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilepath());
// This one is actually a database but it MUST be set after the zrtp secrets
// as it allows automatic migration from old version(secrets, xml) to new version (data, sqlite).
mCore->setZrtpCacheDatabasePath(Paths::getZrtpDataFilepath());
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilepath());
if (mCore->getUserCertificatesPath().empty())
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirpath());
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirpath());
if (mCore->getRootCa().empty())
mCore->setRootCa(Paths::getRootCaFilepath());
mCore->setRootCa(Paths::getRootCaFilepath());
}
void CoreManager::setResourcesPaths () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment