Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
12 lines
655 B
Diff
12 lines
655 B
Diff
--- a/src/server/storage/dbconfigmysql.cpp
|
|
+++ b/src/server/storage/dbconfigmysql.cpp
|
|
@@ -241,8 +241,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)) {
|