summaryrefslogtreecommitdiff
path: root/utils/xml-import.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-10-27 12:05:20 +0400
committerAndrew Dolgov <[email protected]>2010-10-27 12:05:20 +0400
commit25ea280502fbb0fb7fc51f355df8fc644dfc994d (patch)
tree1a2eb0a3a5f6d98702ac9340dbb33ee6ebf17a1e /utils/xml-import.php
parent70543b6a400f292c6ed03d0489d0d696d1e13606 (diff)
add ttrss_entries.date_updated; use date_updated instead of date_enered for expiry checking (bump schema)
Diffstat (limited to 'utils/xml-import.php')
-rw-r--r--utils/xml-import.php6
1 files changed, 3 insertions, 3 deletions
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')");
}