diff options
author | Max Kostikov <max@kostikov.co> | 2019-10-06 12:02:45 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-10-06 12:02:45 +0200 |
commit | 5c4c6e68f600d50deed8ddb32dd6702af9b52853 (patch) | |
tree | d772ac913e494d96061ce6a75981a5cb03ad21dc | |
parent | 6feb864c384a46208c94824797eb2b4b92549840 (diff) | |
download | volse-hubzilla-5c4c6e68f600d50deed8ddb32dd6702af9b52853.tar.gz volse-hubzilla-5c4c6e68f600d50deed8ddb32dd6702af9b52853.tar.bz2 volse-hubzilla-5c4c6e68f600d50deed8ddb32dd6702af9b52853.zip |
Remove visible channels list from pubstream tags cloud creation procedure
-rw-r--r-- | include/taxonomy.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php index b0304de5b..a9991b617 100644 --- a/include/taxonomy.php +++ b/include/taxonomy.php @@ -334,13 +334,14 @@ function pub_tagadelic($net,$site,$limit,$recent,$safemode,$type) { $count = intval($limit); if($site) { - $uids = " and item.uid in ( " . stream_perms_api_uids(PERMS_PUBLIC) . " ) and item_private = 0 and item_wall = 1 "; + //$uids = " and item.uid in ( " . stream_perms_api_uids(PERMS_PUBLIC) . " ) and item_private = 0 and item_wall = 1 "; } else { $sys = get_sys_channel(); $uids = " and item.uid = " . intval($sys['channel_id']) . " "; - $sql_extra = " and item_private = 0 "; } + + $sql_extra = " and item_private = 0 "; if($recent) $sql_extra .= " and item.created > '" . datetime_convert('UTC','UTC', 'now - ' . intval($recent) . ' days ') . "' "; |