diff options
author | Mario <mario@mariovavti.com> | 2020-11-18 09:52:44 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-18 09:52:44 +0000 |
commit | f2fd12fbe544d5e87680aed98489698b4ca9ddd6 (patch) | |
tree | 72ab0d93538739f20cf68d6d3e60f97245c80084 /Zotlabs/Module/Filer.php | |
parent | b5ab77908e357b027a9298e0258f3c0737f3c721 (diff) | |
download | volse-hubzilla-f2fd12fbe544d5e87680aed98489698b4ca9ddd6.tar.gz volse-hubzilla-f2fd12fbe544d5e87680aed98489698b4ca9ddd6.tar.bz2 volse-hubzilla-f2fd12fbe544d5e87680aed98489698b4ca9ddd6.zip |
Do away with auto updates except for our own actions. We might consider to re-implement this for single thread view like eg /display. Instead of calculating scroll positions during updates, keep track of expanded items and set the expanded state when updating - this fixes issue #1488
Diffstat (limited to 'Zotlabs/Module/Filer.php')
-rw-r--r-- | Zotlabs/Module/Filer.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Filer.php b/Zotlabs/Module/Filer.php index af59f28fb..c2747e6c2 100644 --- a/Zotlabs/Module/Filer.php +++ b/Zotlabs/Module/Filer.php @@ -31,7 +31,8 @@ class Filer extends \Zotlabs\Web\Controller { intval(local_channel()) ); if($r) { - $x = q("update item set item_retained = 1 where id = %d and uid = %d", + $x = q("update item set item_retained = 1, changed = '%s' where id = %d and uid = %d", + dbesc(datetime_convert()), intval($r[0]['parent']), intval(local_channel()) ); |