mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-16 11:42:12 +08:00
Report active theme name, so we are once probably able to remove some of them which are mostly unused, to speed up application start
This commit is contained in:
@ -2052,9 +2052,11 @@ begin
|
|||||||
LastStatsCall := StrToDateTime(DefaultLastrunDate);
|
LastStatsCall := StrToDateTime(DefaultLastrunDate);
|
||||||
end;
|
end;
|
||||||
if DaysBetween(Now, LastStatsCall) >= 30 then begin
|
if DaysBetween(Now, LastStatsCall) >= 30 then begin
|
||||||
// Report used SVN revision
|
// Report used app version, bits, and theme name (so we find mostly unused ones for removal)
|
||||||
StatsCall := THttpDownload.Create(Self);
|
StatsCall := THttpDownload.Create(Self);
|
||||||
StatsCall.URL := APPDOMAIN + 'savestats.php?c=' + IntToStr(FAppVerRevision) + '&bits=' + IntToStr(GetExecutableBits);
|
StatsCall.URL := APPDOMAIN + 'savestats.php?c=' + IntToStr(FAppVerRevision) +
|
||||||
|
'&bits=' + IntToStr(GetExecutableBits) +
|
||||||
|
'&thm=' + EncodeURLParam(TStyleManager.ActiveStyle.Name);
|
||||||
// Enumerate actively used server versions
|
// Enumerate actively used server versions
|
||||||
for i:=0 to SessionPaths.Count-1 do begin
|
for i:=0 to SessionPaths.Count-1 do begin
|
||||||
AppSettings.SessionPath := SessionPaths[i];
|
AppSettings.SessionPath := SessionPaths[i];
|
||||||
|
Reference in New Issue
Block a user