From 25ea280502fbb0fb7fc51f355df8fc644dfc994d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Oct 2010 12:05:20 +0400 Subject: add ttrss_entries.date_updated; use date_updated instead of date_enered for expiry checking (bump schema) --- utils/xml-import.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/xml-import.php') diff --git a/utils/xml-import.php b/utils/xml-import.php index 0706b0fa2..96201d91e 100644 --- a/utils/xml-import.php +++ b/utils/xml-import.php @@ -63,7 +63,7 @@ $entry_guid = db_escape_string($data["guid"]); $entry_link = db_escape_string($data["link"]); $updated = db_escape_string($data["updated"]); - $date_entered = db_escape_string($data["date_entered"]); + $date_updated = db_escape_string($data["date_updated"]); $entry_content = db_escape_string($data["content"]); $content_hash = "SHA1:" . sha1(strip_tags($entry_content)); $entry_comments = db_escape_string($data["comments"]); @@ -77,7 +77,7 @@ content, content_hash, no_orig_date, - date_entered, + date_updated, comments) VALUES ('$entry_title', @@ -87,7 +87,7 @@ '$entry_content', '$content_hash', false, - '$date_entered', + '$date_updated', '$entry_comments')"); } -- cgit v1.2.3-54-g00ecf