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:
parent
43738da24f
commit
148f4e8795
@ -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)
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user