aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-01 20:35:52 -0700
committerredmatrix <mike@macgirvin.com>2016-09-01 20:35:52 -0700
commite5c077243c4c01c597c241de7e31df4ae53aedab (patch)
treee37b30afb73ed4bc1d5ff72220b0de2908b9e687 /Zotlabs/Module/Settings.php
parentaf87038150dc9405e62c9eab0b0aacd4f13232d3 (diff)
downloadvolse-hubzilla-e5c077243c4c01c597c241de7e31df4ae53aedab.tar.gz
volse-hubzilla-e5c077243c4c01c597c241de7e31df4ae53aedab.tar.bz2
volse-hubzilla-e5c077243c4c01c597c241de7e31df4ae53aedab.zip
check that the advanced_theming feature is enabled before the pdledit module can be accessed.
Diffstat (limited to 'Zotlabs/Module/Settings.php')
-rw-r--r--Zotlabs/Module/Settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Settings.php b/Zotlabs/Module/Settings.php
index 7612b4892..43b35df23 100644
--- a/Zotlabs/Module/Settings.php
+++ b/Zotlabs/Module/Settings.php
@@ -191,6 +191,8 @@ class Settings extends \Zotlabs\Web\Controller {
check_form_security_token_redirectOnErr('/settings/features', 'settings_features');
// Build list of features and check which are set
+ // We will not create any settings for features that are above our techlevel
+
$features = get_features();
$all_features = array();
foreach($features as $k => $v) {