aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-08-24 21:47:01 +0200
committergit-marijus <mario@mariovavti.com>2017-08-24 21:47:01 +0200
commit2d5768b71c0fa588524849749cfb0b6ffe6300b7 (patch)
tree9a345fcc6ebe2c1ae13a6648172a5578c14306e5 /include/conversation.php
parentcdccf601320ec7e59f5d96438edac34d5ea30085 (diff)
downloadvolse-hubzilla-2d5768b71c0fa588524849749cfb0b6ffe6300b7.tar.gz
volse-hubzilla-2d5768b71c0fa588524849749cfb0b6ffe6300b7.tar.bz2
volse-hubzilla-2d5768b71c0fa588524849749cfb0b6ffe6300b7.zip
ditch discover tab in favour of the public stream app
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php19
1 files changed, 1 insertions, 18 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 2d5ccb5b1..78d90a6fc 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1616,7 +1616,6 @@ function network_tabs() {
$conv_active = '';
$spam_active = '';
$postord_active = '';
- $public_active = '';
if(x($_GET,'new')) {
$new_active = 'active';
@@ -1638,16 +1637,11 @@ function network_tabs() {
$spam_active = 'active';
}
- if(x($_GET,'fh')) {
- $public_active = 'active';
- }
-
if (($new_active == '')
&& ($starred_active == '')
&& ($conv_active == '')
&& ($search_active == '')
- && ($spam_active == '')
- && ($public_active == '')) {
+ && ($spam_active == '')) {
$no_active = 'active';
}
@@ -1665,17 +1659,6 @@ function network_tabs() {
// tabs
$tabs = array();
- $disable_discover_tab = get_config('system','disable_discover_tab') || get_config('system','disable_discover_tab') === false;
-
- if(! $disable_discover_tab) {
- $tabs[] = array(
- 'label' => t('Discover'),
- 'url' => z_root() . '/' . $cmd . '?f=&fh=1' ,
- 'sel' => $public_active,
- 'title' => t('Imported public streams'),
- );
- }
-
$tabs[] = array(
'label' => t('Commented Order'),
'url'=>z_root() . '/' . $cmd . '?f=&order=comment' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : '') . ((x($_GET,'gid')) ? '&gid=' . $_GET['gid'] : ''),