Change occurances of user->profileField to user->get
This commit is contained in:
parent
ae48e7517a
commit
59c03b50e7
41 changed files with 86 additions and 86 deletions
|
|
@ -1200,7 +1200,7 @@ sub viewMonth {
|
|||
|
||||
#### Create the template parameters
|
||||
## The grid
|
||||
my $first_dow = $session->user->profileField("firstDayOfWeek") || 0;
|
||||
my $first_dow = $session->user->get("firstDayOfWeek") || 0;
|
||||
# 0 - sunday
|
||||
# 1 - mon
|
||||
# 2 - tue
|
||||
|
|
@ -1333,7 +1333,7 @@ sub viewWeek {
|
|||
$dt->truncate( to => "day");
|
||||
|
||||
# Apply First Day of Week settings
|
||||
my $first_dow = $session->user->profileField("firstDayOfWeek") || 0;
|
||||
my $first_dow = $session->user->get("firstDayOfWeek") || 0;
|
||||
# 0 - sunday
|
||||
# 1 - monday
|
||||
# 2 - tuesday, etc...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue