[Libreoffice-commits] core.git: desktop/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Jun 18 18:53:01 UTC 2017


 desktop/source/app/app.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bb5622adc5db348efcc9a6f41d19de9f00a367dd
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Jun 18 20:50:36 2017 +0200

    updater: check every 12 hours for updates for now
    
    Change-Id: I566a0177f9bdbc523e88a17be746b3528f67403d

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;
 


More information about the Libreoffice-commits mailing list