mark $session->datetime->time as deprecated and remove its use from core code
This commit is contained in:
parent
5ecc986ec6
commit
60a4a9b140
56 changed files with 94 additions and 92 deletions
|
|
@ -213,7 +213,7 @@ sub calculateExpireOffset {
|
|||
}
|
||||
}
|
||||
if ($units eq "fixed") {
|
||||
my $seconds = (($offset - $session->datetime->time()));
|
||||
my $seconds = (($offset - time()));
|
||||
if ($seconds < 1) {
|
||||
return undef;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue