aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-20 06:05:20 -0700
committerredmatrix <mike@macgirvin.com>2016-09-20 06:05:20 -0700
commit73bd65ead58edcb42938165144ff237c27437bbc (patch)
treed9eb1defe41d5555cd510f7b587adc806a018cc0
parent8fd8ddcbc1124844bb910d714c0a6d61ee1261a7 (diff)
downloadvolse-hubzilla-73bd65ead58edcb42938165144ff237c27437bbc.tar.gz
volse-hubzilla-73bd65ead58edcb42938165144ff237c27437bbc.tar.bz2
volse-hubzilla-73bd65ead58edcb42938165144ff237c27437bbc.zip
don't offer a settings/features link for techlevel 0 (basic or pro:0) even if there are level 0 features/categories. The definition of level 0 is "don't confuse me with options".
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 0b3a0d108..9cd15dd59 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -602,7 +602,7 @@ function widget_settings_menu($arr) {
);
- if(get_features()) {
+ if(get_account_techlevel() > 0 && get_features()) {
$tabs[] = array(
'label' => t('Additional features'),
'url' => z_root().'/settings/features',