aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-07 16:54:49 -0700
committerzotlabs <mike@macgirvin.com>2018-04-07 16:54:49 -0700
commitd47ea20aa8bb8219f7a0760e81ba3db542392390 (patch)
treecbb8b66dc89d82f330ede61b079dd95cde7ed3f3 /Zotlabs
parent8048b7addcf214d1f81cd63d602cce21adce0c8d (diff)
downloadvolse-hubzilla-d47ea20aa8bb8219f7a0760e81ba3db542392390.tar.gz
volse-hubzilla-d47ea20aa8bb8219f7a0760e81ba3db542392390.tar.bz2
volse-hubzilla-d47ea20aa8bb8219f7a0760e81ba3db542392390.zip
we shouldn't need distinct here, since ids_to_querystr() will filter duplicates. It might have an effect on pager totals. Need to monitor for a few days.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index 3d3eb2a85..6a334b59a 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -204,7 +204,7 @@ class Channel extends \Zotlabs\Web\Controller {
$_SESSION['loadtime'] = datetime_convert();
}
else {
- $r = q("SELECT distinct parent AS item_id from item
+ $r = q("SELECT parent AS item_id from item
left join abook on ( item.owner_xchan = abook.abook_xchan $abook_uids )
WHERE uid = %d $item_normal_update
AND item_wall = 1 $simple_update