mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 19:24:28 +02:00
Merge pull request #14915 from haheute/calendar-default-view-mode
Make the calendar use the default view mode
This commit is contained in:
commit
024b136cdd
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ class Event
|
||||||
{
|
{
|
||||||
// First day of the week (0 = Sunday).
|
// First day of the week (0 = Sunday).
|
||||||
$firstDay = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'calendar', 'first_day_of_week') ?? 0;
|
$firstDay = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'calendar', 'first_day_of_week') ?? 0;
|
||||||
$defaultView = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'calendar', 'defaultView') ?? 'month';
|
$defaultView = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'calendar', 'default_view') ?? 'month';
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'firstDay' => $firstDay,
|
'firstDay' => $firstDay,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue