From 811bea05221c3704037eaba860a70f42eb45994b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Nov 2010 11:42:05 +0300 Subject: [PATCH] remove get_script_dt_add() --- digest.php | 2 +- functions.php | 6 ------ prefs.php | 2 +- tt-rss.php | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/digest.php b/digest.php index c2ff2a33..d2bbfedb 100644 --- a/digest.php +++ b/digest.php @@ -12,7 +12,7 @@ login_sequence($link); - $dt_add = get_script_dt_add(); + $dt_add = time(); no_cache_incantation(); diff --git a/functions.php b/functions.php index baf302de..c81026ae 100644 --- a/functions.php +++ b/functions.php @@ -2920,10 +2920,6 @@ return $ret_arr; } - function get_script_dt_add() { - return time(); - } - function get_pgsql_version($link) { $result = db_query($link, "SELECT version() AS version"); $version = split(" ", db_fetch_result($result, 0, "version")); @@ -5083,8 +5079,6 @@ $rtl_content = false; } - $script_dt_add = get_script_dt_add(); - /// START ///////////////////////////////////////////////////////////////////////////////// @$search = db_escape_string($_REQUEST["query"]); diff --git a/prefs.php b/prefs.php index 756a23fe..365c75a6 100644 --- a/prefs.php +++ b/prefs.php @@ -14,7 +14,7 @@ login_sequence($link); - $dt_add = get_script_dt_add(); + $dt_add = time(); no_cache_incantation(); diff --git a/tt-rss.php b/tt-rss.php index 2dbf78b7..e580f0c8 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -14,7 +14,7 @@ login_sequence($link); - $dt_add = get_script_dt_add(); + $dt_add = time(); no_cache_incantation(); -- 2.39.2