From d0d015339b8f1afbca89b49ba8c0db4d2ce0cf40 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Fri, 26 Mar 2010 18:53:35 +0000 Subject: [PATCH] Add dummy GET parameter holding current time, to force loading that file, even after the VCL internals have that file cached somewhere. Fixes issue #1806. --- source/updatecheck.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/updatecheck.pas b/source/updatecheck.pas index bd7f9d9a..dfb09e51 100644 --- a/source/updatecheck.pas +++ b/source/updatecheck.pas @@ -105,7 +105,7 @@ begin // Prepare download CheckfileDownload := TDownLoadURL2.Create(Self); CheckfileDownload.SetUserAgent(APPNAME + ' ' + Mainform.AppVersion + ' update checker tool'); - CheckfileDownload.URL := APPDOMAIN + 'updatecheck.php?r='+IntToStr(Mainform.AppVerRevision); + CheckfileDownload.URL := APPDOMAIN + 'updatecheck.php?r='+IntToStr(Mainform.AppVerRevision)+'&t='+DateTimeToStr(Now); CheckfileDownload.Filename := GetTempDir + APPNAME + '_updatecheck.ini'; // Download the check file