make simple update more simple again

This commit is contained in:
Mario
2020-11-21 20:57:50 +00:00
parent 6c94bbc93f
commit bb43c57b07
5 changed files with 5 additions and 5 deletions

View File

@@ -182,7 +182,7 @@ class Display extends \Zotlabs\Web\Controller {
$simple_update = '';
if($update && $_SESSION['loadtime'])
$simple_update = " AND (( item_unseen = 1 AND item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) OR item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) AND author_xchan = '" . protect_sprintf(get_observer_hash()) . "' ";
$simple_update = " AND (( item_unseen = 1 AND item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) OR item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) ";
if((! $update) && (! $load)) {