aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/akonadi-timestamps.patch
blob: df81fdb2dcb6b0edaa2cebaa99701f3ebca944eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
===================================================================
--- akonadi-19.08.0.orig/src/server/storage/dbconfigmysql.cpp
+++ akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
@@ -260,8 +260,7 @@ bool DbConfigMysql::startInternalServer(
     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)) {