aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-01 19:01:02 -0700
committerredmatrix <mike@macgirvin.com>2016-09-01 19:01:02 -0700
commitaf87038150dc9405e62c9eab0b0aacd4f13232d3 (patch)
tree184e0ac0530c1898cf7ecb3dc39d148d60b3b74e /include/contact_widgets.php
parent720f1d71233ab9f6be3ea4ae4b09d823fdca7367 (diff)
downloadvolse-hubzilla-af87038150dc9405e62c9eab0b0aacd4f13232d3.tar.gz
volse-hubzilla-af87038150dc9405e62c9eab0b0aacd4f13232d3.tar.bz2
volse-hubzilla-af87038150dc9405e62c9eab0b0aacd4f13232d3.zip
separate the 'expert' feature into 'advanced_theming' and 'advanced_dirsearch'. Hide both features unless techlevel > 3.
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index 85c46b0d1..8f76bb4bc 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -13,7 +13,7 @@ function findpeople_widget() {
}
}
- $advanced_search = ((local_channel() && get_pconfig(local_channel(),'feature','expert')) ? t('Advanced') : false);
+ $advanced_search = ((local_channel() && feature_enabled(local_channel(),'advanced_dirsearch')) ? t('Advanced') : false);
return replace_macros(get_markup_template('peoplefind.tpl'),array(
'$findpeople' => t('Find Channels'),