summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-08 11:42:05 +0300
committerAndrew Dolgov <[email protected]>2010-11-08 11:42:05 +0300
commit811bea05221c3704037eaba860a70f42eb45994b (patch)
tree918c59b8803074fe436dd2a72c7b61723bfebe4b
parentd7a15ad0347bb121be0fd869f534a9ecd5ea9b77 (diff)
remove get_script_dt_add()
-rw-r--r--digest.php2
-rw-r--r--functions.php6
-rw-r--r--prefs.php2
-rw-r--r--tt-rss.php2
4 files changed, 3 insertions, 9 deletions
diff --git a/digest.php b/digest.php
index c2ff2a330..d2bbfedb7 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 baf302de3..c81026ae4 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 756a23fe1..365c75a63 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 2dbf78b7d..e580f0c8e 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();