aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-05-07 07:09:31 +0000
committerMario <mario@mariovavti.com>2022-05-07 07:09:31 +0000
commitbd55ae15f29465eab49d3feb83bc426b54127529 (patch)
treec6fb18bb35f77f767686d8923ac882d5599df05f
parent2ca80118bf4fd4c0455f45b2310d040739ad8f4c (diff)
downloadvolse-hubzilla-bd55ae15f29465eab49d3feb83bc426b54127529.tar.gz
volse-hubzilla-bd55ae15f29465eab49d3feb83bc426b54127529.tar.bz2
volse-hubzilla-bd55ae15f29465eab49d3feb83bc426b54127529.zip
cleanup channel apps
-rw-r--r--include/nav.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/nav.php b/include/nav.php
index b9b24e34c..090785301 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -499,29 +499,6 @@ function channel_apps($is_owner = false, $nickname = null) {
];
}
- if ($p['view_pages'] && Apps::system_app_installed($uid, 'Cards')) {
- $tabs[] = [
- 'label' => t('Cards'),
- 'url' => z_root() . '/cards/' . $nickname,
- 'sel' => ((argv(0) == 'cards') ? 'active' : ''),
- 'title' => t('View Cards'),
- 'id' => 'cards-tab',
- 'icon' => 'list'
- ];
- }
-
- if ($p['view_pages'] && Apps::system_app_installed($uid, 'Articles')) {
- $tabs[] = [
- 'label' => t('Articles'),
- 'url' => z_root() . '/articles/' . $nickname,
- 'sel' => ((argv(0) == 'articles') ? 'active' : ''),
- 'title' => t('View Articles'),
- 'id' => 'articles-tab',
- 'icon' => 'file-text-o'
- ];
- }
-
-
if ($has_webpages && Apps::system_app_installed($uid, 'Webpages')) {
$tabs[] = [
'label' => t('Webpages'),
@@ -533,7 +510,6 @@ function channel_apps($is_owner = false, $nickname = null) {
];
}
-
if ($p['view_wiki'] && Apps::system_app_installed($uid, 'Wiki')) {
$tabs[] = [
'label' => t('Wikis'),