|
@@ -26,7 +26,7 @@ begin |
|
|
result:=0;
|
|
|
result:=0;
|
|
|
ts_key:='ytrf_ts';
|
|
|
ts_key:='ytrf_ts';
|
|
|
if (ts_update_needed(delta)>0) then begin
|
|
|
if (ts_update_needed(delta)>0) then begin
|
|
|
url:='http://trf.maps.yandex.net/trf/stat.js';
|
|
|
|
|
|
|
|
|
url:='http://jgo.maps.yandex.net/trf/stat.js';
|
|
|
result:=retrieve_ts(url, 'timestamp:"', '"');
|
|
|
result:=retrieve_ts(url, 'timestamp:"', '"');
|
|
|
SetIntParam(ts_key, result);
|
|
|
SetIntParam(ts_key, result);
|
|
|
end else begin
|
|
|
end else begin
|
|
|