diff options
author | Andrew Dolgov <[email protected]> | 2013-02-26 19:20:58 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-02-26 19:20:58 +0400 |
commit | 5321e775f92bc304456e7b6ed55ad169bf21ba16 (patch) | |
tree | 9f05f4756fabf7a045ec0372a4e9298de0d35fed /include/functions.php | |
parent | 5d56d100f1acaee498b6d7da12c4bf10f416c49f (diff) |
remove update on checksum change (updated status has been removed); rtl stuff (unused)
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/include/functions.php b/include/functions.php index 572720787..4d3051a0c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2841,27 +2841,6 @@ //if (!$zoom_mode) { print "<article id='$id'><![CDATA["; }; - $result = db_query($link, "SELECT rtl_content, always_display_enclosures, cache_content FROM ttrss_feeds - WHERE id = '$feed_id' AND owner_uid = $owner_uid"); - - if (db_num_rows($result) == 1) { - $rtl_content = sql_bool_to_bool(db_fetch_result($result, 0, "rtl_content")); - $always_display_enclosures = sql_bool_to_bool(db_fetch_result($result, 0, "always_display_enclosures")); - $cache_content = sql_bool_to_bool(db_fetch_result($result, 0, "cache_content")); - } else { - $rtl_content = false; - $always_display_enclosures = false; - $cache_content = false; - } - - if ($rtl_content) { - $rtl_tag = "dir=\"RTL\""; - $rtl_class = "RTL"; - } else { - $rtl_tag = ""; - $rtl_class = ""; - } - if ($mark_as_read) { $result = db_query($link, "UPDATE ttrss_user_entries SET unread = false,last_read = NOW() @@ -2942,7 +2921,7 @@ $parsed_updated = make_local_datetime($link, $line["updated"], true, $owner_uid, true); - $rv['content'] .= "<div class=\"postDate$rtl_class\">$parsed_updated</div>"; + $rv['content'] .= "<div class=\"postDate\">$parsed_updated</div>"; if ($line["link"]) { $rv['content'] .= "<div class='postTitle'><a target='_blank' |