aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Module/Cal.php2
-rw-r--r--Zotlabs/Module/Events.php2
-rw-r--r--include/features.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Cal.php b/Zotlabs/Module/Cal.php
index 2962d31fd..70098a2a1 100644
--- a/Zotlabs/Module/Cal.php
+++ b/Zotlabs/Module/Cal.php
@@ -75,7 +75,7 @@ class Cal extends \Zotlabs\Web\Controller {
$sql_extra = permissions_sql($channel['channel_id'],get_observer_hash(),'event');
- $first_day = feature_enabled($channel['channel_id'], 'cal_first_day');
+ $first_day = feature_enabled($channel['channel_id'], 'events_cal_first_day');
$first_day = (($first_day) ? $first_day : 0);
$htpl = get_markup_template('event_head.tpl');
diff --git a/Zotlabs/Module/Events.php b/Zotlabs/Module/Events.php
index b63921ce3..7e5204e62 100644
--- a/Zotlabs/Module/Events.php
+++ b/Zotlabs/Module/Events.php
@@ -290,7 +290,7 @@ class Events extends \Zotlabs\Web\Controller {
);
}
- $first_day = feature_enabled(local_channel(), 'cal_first_day');
+ $first_day = feature_enabled(local_channel(), 'events_cal_first_day');
$first_day = (($first_day) ? $first_day : 0);
$htpl = get_markup_template('event_head.tpl');
diff --git a/include/features.php b/include/features.php
index 8b0c5e3f3..37445c643 100644
--- a/include/features.php
+++ b/include/features.php
@@ -358,11 +358,11 @@ function get_features($filtered = true, $level = (-1)) {
t('Events'),
[
- 'cal_first_day',
+ 'events_cal_first_day',
t('Start calendar week on Monday'),
t('Default is Sunday'),
false,
- get_config('feature_lock','cal_first_day')
+ get_config('feature_lock','events_cal_first_day')
],
[