diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-03 13:49:58 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-03 13:49:58 +0100 |
commit | 0ce7358f0f00cb000562dc34be13459eb5779c18 (patch) | |
tree | 621919bd5bbd3b9c33be9d1096f3bdbf475033c3 /Zotlabs/Module/Network.php | |
parent | 41749f5eda09bb22a57c833b3e9352507325ce27 (diff) | |
download | volse-hubzilla-0ce7358f0f00cb000562dc34be13459eb5779c18.tar.gz volse-hubzilla-0ce7358f0f00cb000562dc34be13459eb5779c18.tar.bz2 volse-hubzilla-0ce7358f0f00cb000562dc34be13459eb5779c18.zip |
update item_normal() to not include ACTIVITY_OBJ_FILE obj_type
Diffstat (limited to 'Zotlabs/Module/Network.php')
-rw-r--r-- | Zotlabs/Module/Network.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Network.php b/Zotlabs/Module/Network.php index 66032aada..4deb7c9e8 100644 --- a/Zotlabs/Module/Network.php +++ b/Zotlabs/Module/Network.php @@ -533,13 +533,12 @@ class Network extends \Zotlabs\Web\Controller { if($parents_str) { $update_unseen = " AND ( id IN ( " . dbesc($parents_str) . " )"; - $update_unseen .= " AND obj_type != '" . dbesc(ACTIVITY_OBJ_FILE) . "'"; $update_unseen .= " OR ( parent IN ( " . dbesc($parents_str) . " ) AND verb in ( '" . dbesc(ACTIVITY_LIKE) . "','" . dbesc(ACTIVITY_DISLIKE) . "' ))) "; } } else { if($parents_str) { - $update_unseen = " AND parent IN ( " . dbesc($parents_str) . " ) AND obj_type != '" . dbesc(ACTIVITY_OBJ_FILE) . "'"; + $update_unseen = " AND parent IN ( " . dbesc($parents_str) . " )"; } } } |