aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-06-17 10:10:44 +0200
committerMario Vavti <mario@mariovavti.com>2019-06-17 10:10:44 +0200
commit8535eb7bf5a3836502a4e5ded93c453abf723370 (patch)
tree1b9025de069ee1acc8d5f03954fd3174a5118b48
parentc9604eaabf400ff60a7be24214ca4945561e6ec2 (diff)
downloadvolse-hubzilla-8535eb7bf5a3836502a4e5ded93c453abf723370.tar.gz
volse-hubzilla-8535eb7bf5a3836502a4e5ded93c453abf723370.tar.bz2
volse-hubzilla-8535eb7bf5a3836502a4e5ded93c453abf723370.zip
update feature set
-rw-r--r--Zotlabs/Module/Cal.php2
-rw-r--r--include/features.php14
2 files changed, 1 insertions, 15 deletions
diff --git a/Zotlabs/Module/Cal.php b/Zotlabs/Module/Cal.php
index dca100dad..a84116e76 100644
--- a/Zotlabs/Module/Cal.php
+++ b/Zotlabs/Module/Cal.php
@@ -79,7 +79,7 @@ class Cal extends Controller {
if(! perm_is_allowed($channel['channel_id'], get_observer_hash(), 'view_contacts') || App::$profile['hide_friends'])
$sql_extra .= " and etype != 'birthday' ";
- $first_day = feature_enabled($channel['channel_id'], 'events_cal_first_day');
+ $first_day = feature_enabled($channel['channel_id'], 'cal_first_day');
$first_day = (($first_day) ? $first_day : 0);
$start = '';
diff --git a/include/features.php b/include/features.php
index 9528d3418..87df0c50d 100644
--- a/include/features.php
+++ b/include/features.php
@@ -280,20 +280,6 @@ function get_features($filtered = true, $level = (-1)) {
],
- 'events' => [
-
- t('Events'),
-
- [
- 'events_cal_first_day',
- t('Start calendar week on Monday'),
- t('Default is Sunday'),
- false,
- get_config('feature_lock','events_cal_first_day')
- ]
-
- ],
-
'manage' => [
t('Manage'),