diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-25 21:15:23 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-25 21:15:23 -0700 |
commit | 4ef2493e957ce1f2c8ea4045dba2746032f34d41 (patch) | |
tree | c004d16c1ffa99c789810fef5991569aeb33f462 /include/features.php | |
parent | 9a155cf5a576e01960c8d8b6128bfc27077211af (diff) | |
download | volse-hubzilla-4ef2493e957ce1f2c8ea4045dba2746032f34d41.tar.gz volse-hubzilla-4ef2493e957ce1f2c8ea4045dba2746032f34d41.tar.bz2 volse-hubzilla-4ef2493e957ce1f2c8ea4045dba2746032f34d41.zip |
testing start_menu feature
Diffstat (limited to 'include/features.php')
-rw-r--r-- | include/features.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/features.php b/include/features.php index 3928fc5cf..5481c37a4 100644 --- a/include/features.php +++ b/include/features.php @@ -28,8 +28,9 @@ function get_feature_default($feature) { $f = get_features(false); foreach($f as $cat) { foreach($cat as $feat) { - if(is_array($feat) && $feat[0] === $feature) + if(is_array($feat) && $feat[0] === $feature) { return $feat[3]; + } } } return false; @@ -58,7 +59,7 @@ function get_features($filtered = true) { 'start_menu', t('New Member Links'), t('Display new member quick links menu'), - true, + (($account['account_created'] > datetime_convert('','','now - 60 days')) ? true : false), get_config('feature_lock','start_menu'), feature_level('start_menu',1), ], |