summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-18 20:50:36 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-18 20:52:22 +0200
commitbb5622adc5db348efcc9a6f41d19de9f00a367dd (patch)
treedc06359967361755273c48ed6f2e71b0e5def06b /desktop
parent5a89f96012c7776f23a2a81f8542e046d29c2a2b (diff)
updater: check every 12 hours for updates for now
Change-Id: I566a0177f9bdbc523e88a17be746b3528f67403d
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 993f6933d84b..1a765eaa884f 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1236,7 +1236,7 @@ bool isTimeForUpdateCheck()
sal_uInt64 nLastUpdate = officecfg::Office::Update::Update::LastUpdateTime::get();
sal_uInt64 nNow = tools::Time::GetSystemTicks();
- sal_uInt64 n7DayInMS = 1000 * 60 * 60 * 24 * 7; // 7 days in ms
+ sal_uInt64 n7DayInMS = 1000 * 60 * 60 * 12 * 1; // 12 hours in ms
if (nNow - n7DayInMS >= nLastUpdate)
return true;