]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove get_script_dt_add()
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Nov 2010 08:42:05 +0000 (11:42 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Nov 2010 08:42:05 +0000 (11:42 +0300)
digest.php
functions.php
prefs.php
tt-rss.php

index c2ff2a330e48f001c180893f07deb555b8320d67..d2bbfedb7a95fc39ca2a045db2a5b6280f4ba1f4 100644 (file)
@@ -12,7 +12,7 @@
 
        login_sequence($link);
 
-       $dt_add = get_script_dt_add();
+       $dt_add = time();
 
        no_cache_incantation();
 
index baf302de3a272952da68ff26f21217163256763a..c81026ae4c9a8741f2e90456c06cbe71efb40f5f 100644 (file)
                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"));
                        $rtl_content = false;
                }
 
-               $script_dt_add = get_script_dt_add();
-
                /// START /////////////////////////////////////////////////////////////////////////////////
 
                @$search = db_escape_string($_REQUEST["query"]);
index 756a23fe13009dfcd1ffb36abf4781a343617b9c..365c75a63a9e073bb529bdc01f22db112d154cc9 100644 (file)
--- 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();
        
index 2dbf78b7d26564f51cf8552fae70304fe9f0ac66..e580f0c8e14c7d20223111bb2bf653549fa55acd 100644 (file)
@@ -14,7 +14,7 @@
 
        login_sequence($link);
 
-       $dt_add = get_script_dt_add();
+       $dt_add = time();
 
        no_cache_incantation();