[Libreoffice-commits] online.git: tools/Config.cpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 9 09:45:26 UTC 2019
tools/Config.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c377ca3fb2d1e28646bf64b38a641bc07ffb6bc4
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Wed Jan 9 10:28:25 2019 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Wed Jan 9 10:45:06 2019 +0100
loolconfig: Only show "config updated" message when something was changed
Change-Id: I2d2b1e4b57cccbbe6f5608f0468bc9dfed3fd120
Reviewed-on: https://gerrit.libreoffice.org/65997
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/tools/Config.cpp b/tools/Config.cpp
index 0e2505283..2c257c601 100644
--- a/tools/Config.cpp
+++ b/tools/Config.cpp
@@ -300,6 +300,7 @@ int Config::main(const std::vector<std::string>& args)
{
std::cerr << "Valid for " << validDays << " days - setting to config\n";
_loolConfig.setString("support_key", supportKeyString);
+ changed = true;
}
}
}
@@ -307,8 +308,8 @@ int Config::main(const std::vector<std::string>& args)
{
std::cerr << "Removing empty support key\n";
_loolConfig.remove("support_key");
+ changed = true;
}
- changed = true;
}
#endif
else if (args[0] == "set")
More information about the Libreoffice-commits
mailing list