aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Pubstream.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-04-16 11:42:13 +0200
committerMario Vavti <mario@mariovavti.com>2018-04-16 11:42:13 +0200
commitbef5be827d15bc54c9b88bc10313b28172069fef (patch)
tree86d32da9fc05d15491f4ccf04b27ea223307f323 /Zotlabs/Module/Pubstream.php
parenta8b78dc1f5080629717adc2d942399096397819d (diff)
downloadvolse-hubzilla-bef5be827d15bc54c9b88bc10313b28172069fef.tar.gz
volse-hubzilla-bef5be827d15bc54c9b88bc10313b28172069fef.tar.bz2
volse-hubzilla-bef5be827d15bc54c9b88bc10313b28172069fef.zip
remove some more distinct in queries and observe any regressions. this is related to issue #1079 and commit d47ea20aa8bb8219f7a0760e81ba3db542392390
Diffstat (limited to 'Zotlabs/Module/Pubstream.php')
-rw-r--r--Zotlabs/Module/Pubstream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Pubstream.php b/Zotlabs/Module/Pubstream.php
index 79f205a22..45487e3a4 100644
--- a/Zotlabs/Module/Pubstream.php
+++ b/Zotlabs/Module/Pubstream.php
@@ -224,7 +224,7 @@ class Pubstream extends \Zotlabs\Web\Controller {
);
}
else {
- $r = q("SELECT distinct parent AS item_id, $ordering FROM item
+ $r = q("SELECT parent AS item_id FROM item
left join abook on item.author_xchan = abook.abook_xchan
$net_query
WHERE true $uids $item_normal_update