2019-08-16 13:52:03 +02:00
|
|
|
Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
|
2017-05-10 01:24:46 +02:00
|
|
|
===================================================================
|
2019-08-16 13:52:03 +02:00
|
|
|
--- akonadi-19.08.0.orig/src/server/storage/dbconfigmysql.cpp
|
|
|
|
+++ akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
|
|
|
|
@@ -235,8 +235,7 @@ bool DbConfigMysql::startInternalServer(
|
2017-05-10 01:24:46 +02:00
|
|
|
bool confUpdate = false;
|
|
|
|
QFile actualFile(actualConfig);
|
|
|
|
// update conf only if either global (or local) is newer than actual
|
|
|
|
- if ((QFileInfo(globalConfig).lastModified() > QFileInfo(actualFile).lastModified()) ||
|
|
|
|
- (QFileInfo(localConfig).lastModified() > QFileInfo(actualFile).lastModified())) {
|
|
|
|
+ if (true) {
|
|
|
|
QFile globalFile(globalConfig);
|
|
|
|
QFile localFile(localConfig);
|
|
|
|
if (globalFile.open(QFile::ReadOnly) && actualFile.open(QFile::WriteOnly)) {
|