diff options
author | Mario <mario@mariovavti.com> | 2020-11-21 20:57:50 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-21 20:57:50 +0000 |
commit | bb43c57b0731270d563dca8afb773b49e9023f54 (patch) | |
tree | 13dc92517fee83effb0727a789c3bc50e896850a /Zotlabs/Module/Hq.php | |
parent | 6c94bbc93fcdbcb729e119bea55f87b5334f650f (diff) | |
download | volse-hubzilla-bb43c57b0731270d563dca8afb773b49e9023f54.tar.gz volse-hubzilla-bb43c57b0731270d563dca8afb773b49e9023f54.tar.bz2 volse-hubzilla-bb43c57b0731270d563dca8afb773b49e9023f54.zip |
make simple update more simple again
Diffstat (limited to 'Zotlabs/Module/Hq.php')
-rw-r--r-- | Zotlabs/Module/Hq.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php index 3f5c4ed52..4c2067299 100644 --- a/Zotlabs/Module/Hq.php +++ b/Zotlabs/Module/Hq.php @@ -86,7 +86,7 @@ class Hq 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']) . "' ) "; $sys = get_sys_channel(); $sql_extra = item_permissions_sql($sys['channel_id']); |