diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-25 10:06:24 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-25 10:06:24 +0200 |
commit | 4c58a5cef278357c1bc31b76cfbd2719e3338398 (patch) | |
tree | 66e26a5b3fa46a2ffdf5720dc29cc770e38e0d45 /Zotlabs/Widget | |
parent | c748230b35b16cdf1558671b26a49af41b253876 (diff) | |
download | volse-hubzilla-4c58a5cef278357c1bc31b76cfbd2719e3338398.tar.gz volse-hubzilla-4c58a5cef278357c1bc31b76cfbd2719e3338398.tar.bz2 volse-hubzilla-4c58a5cef278357c1bc31b76cfbd2719e3338398.zip |
premium channel app
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r-- | Zotlabs/Widget/Settings_menu.php | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/Zotlabs/Widget/Settings_menu.php b/Zotlabs/Widget/Settings_menu.php index f35d6f147..1b96e4d14 100644 --- a/Zotlabs/Widget/Settings_menu.php +++ b/Zotlabs/Widget/Settings_menu.php @@ -111,7 +111,6 @@ class Settings_menu { ); } - if($role === false || $role === 'custom') { $tabs[] = array( 'label' => t('Connection Default Permissions'), @@ -120,22 +119,6 @@ class Settings_menu { ); } - if(feature_enabled(local_channel(),'premium_channel')) { - $tabs[] = array( - 'label' => t('Premium Channel Settings'), - 'url' => z_root() . '/connect/' . $channel['channel_address'], - 'selected' => '' - ); - } - - if(feature_enabled(local_channel(),'channel_sources')) { - $tabs[] = array( - 'label' => t('Channel Sources'), - 'url' => z_root() . '/sources', - 'selected' => '' - ); - } - $tabtpl = get_markup_template("generic_links_widget.tpl"); return replace_macros($tabtpl, array( '$title' => t('Settings'), @@ -144,4 +127,4 @@ class Settings_menu { )); } -}
\ No newline at end of file +} |