1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 00:01:29 +00:00

further javascript cleanups

This commit is contained in:
Andrew Dolgov
2005-09-05 13:41:59 +01:00
parent 7276362076
commit bb7cfaceb1
6 changed files with 64 additions and 127 deletions

View File

@@ -238,10 +238,6 @@
$last_read_qpart = "";
// if ("$orig_title" != "$entry_title") {
// $last_read_qpart = 'last_read = null,';
// }
if ($orig_content_hash != $content_hash) {
if (UPDATE_POST_ON_CHECKSUM_CHANGE) {
$last_read_qpart = 'last_read = null,';
@@ -257,10 +253,6 @@
$entry_is_modified = true;
}
// if (!$no_orig_date && $orig_timestamp < $entry_timestamp) {
// $last_read_qpart = 'last_read = null,';
// }
if ($entry_is_modified) {
$entry_comments = pg_escape_string($entry_comments);
@@ -268,8 +260,6 @@
$entry_title = pg_escape_string($entry_title);
$entry_link = pg_escape_string($entry_link);
// print "update object $entry_guid<br>";
$query = "UPDATE ttrss_entries
SET
$last_read_qpart