issue #578 - this won't fix old items but should work going forward. The extra time slop shouldn't be needed and will in fact result in possibly undesired redundancy.

This commit is contained in:
friendica 2014-09-01 19:55:43 -07:00
parent 43738da24f
commit 148f4e8795
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ function externals_run($argv, $argc){
if($url) { if($url) {
if($r[0]['site_pull'] !== '0000-00-00 00:00:00') if($r[0]['site_pull'] !== '0000-00-00 00:00:00')
$mindate = urlencode($r[0]['site_pull']); $mindate = urlencode(datetime_convert('','',$r[0]['site_pull'] . ' - 1 day'));
else { else {
$days = get_config('externals','since_days'); $days = get_config('externals','since_days');
if($days === false) if($days === false)

View File

@ -4056,7 +4056,7 @@ function zot_feed($uid,$observer_xchan,$mindate) {
} }
if($mindate != '0000-00-00 00:00:00') { if($mindate != '0000-00-00 00:00:00') {
$sql_extra .= " and created > '$mindate' "; $sql_extra .= " and ( created > '$mindate' or edited > '$mindate' ) ";
$limit = ""; $limit = "";
} }
else else