diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-01 19:01:02 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-01 19:01:02 -0700 |
commit | af87038150dc9405e62c9eab0b0aacd4f13232d3 (patch) | |
tree | 184e0ac0530c1898cf7ecb3dc39d148d60b3b74e /Zotlabs/Module/Directory.php | |
parent | 720f1d71233ab9f6be3ea4ae4b09d823fdca7367 (diff) | |
download | volse-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 'Zotlabs/Module/Directory.php')
-rw-r--r-- | Zotlabs/Module/Directory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php index 84d40a166..691e48520 100644 --- a/Zotlabs/Module/Directory.php +++ b/Zotlabs/Module/Directory.php @@ -84,7 +84,7 @@ class Directory extends \Zotlabs\Web\Controller { $search = ((x($_GET,'search')) ? notags(trim(rawurldecode($_GET['search']))) : ''); - if(strpos($search,'=') && local_channel() && get_pconfig(local_channel(),'feature','expert')) + if(strpos($search,'=') && local_channel() && feature_enabled(local_channel(),'feature','advanced_dirsearch')) $advanced = $search; |