move smart birthday feature to calendar settings and override the adjust flag at display time instead of import

This commit is contained in:
Mario Vavti
2019-05-20 13:51:53 +02:00
parent 9651689bb8
commit c9d64d75f3
3 changed files with 12 additions and 9 deletions

View File

@@ -95,6 +95,14 @@ function get_features($filtered = true, $level = (-1)) {
t('Allow event creation in timezones other than your own.'),
false,
get_config('feature_lock','event_tz_select'),
],
[
'smart_birthdays',
t('Smart Birthdays'),
t('Make birthday events timezone aware in case your friends are scattered across the planet.'),
true,
get_config('feature_lock','smart_birthdays'),
]
],
@@ -290,14 +298,6 @@ function get_features($filtered = true, $level = (-1)) {
t('Default is Sunday'),
false,
get_config('feature_lock','events_cal_first_day')
],
[
'smart_birthdays',
t('Smart Birthdays'),
t('Make birthday events timezone aware in case your friends are scattered across the planet.'),
true,
get_config('feature_lock','smart_birthdays'),
]
],