summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-27 13:34:04 +0400
committerAndrew Dolgov <[email protected]>2013-03-27 13:34:04 +0400
commitbe574731fcb3db99df04b7300cea184b2780ba12 (patch)
tree359b92f7a9d2a9401a692b9f816e9cab3b1feb3c /include/rssfuncs.php
parent69ad8b683be97209b87d2634ec8618849e71adea (diff)
modify sorting by date_entered: set date_entered per-batch; use updated as a secondary criteria
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 130f9142c..73fe757c3 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -224,6 +224,8 @@
$simplepie_cache_dir = CACHE_DIR . "/simplepie";
+ $date_feed_processed = date('Y-m-d H:i');
+
if (!is_dir($simplepie_cache_dir)) {
mkdir($simplepie_cache_dir);
}
@@ -626,7 +628,7 @@
'',
$no_orig_date,
NOW(),
- NOW(),
+ '$date_feed_processed',
'$entry_comments',
'$num_comments',
'$entry_plugin_data',