aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-18 15:56:57 -0700
committerzotlabs <mike@macgirvin.com>2018-04-18 15:56:57 -0700
commit2ec28a59932defdf6353f8ed72e3e67ef5a90f9a (patch)
treecc70541cd33c622cfdb44c4232cd0026e6c0c364 /include
parentc53f788cc85f83f00e1b5bec19efd54f1372a12b (diff)
downloadvolse-hubzilla-2ec28a59932defdf6353f8ed72e3e67ef5a90f9a.tar.gz
volse-hubzilla-2ec28a59932defdf6353f8ed72e3e67ef5a90f9a.tar.bz2
volse-hubzilla-2ec28a59932defdf6353f8ed72e3e67ef5a90f9a.zip
just provide the trending tags in public stream by default and simplify the query to improve load times; I intend to do additional work on this feature later
Diffstat (limited to 'include')
-rw-r--r--include/taxonomy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index f65cdd941..e8d33986f 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -338,7 +338,7 @@ function pub_tagadelic($net,$site,$limit,$recent,$safemode,$type) {
else {
$sys = get_sys_channel();
$uids = " and item.uid = " . intval($sys['channel_id']) . " ";
- $sql_extra = item_permissions_sql($sys['channel_id']);
+ $sql_extra = " and item_private = 0 ";
}
if($recent)