mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
User: one more fix with birthday
This commit is contained in:
parent
33478e7bf9
commit
d996be443f
1 changed files with 2 additions and 6 deletions
|
@ -304,13 +304,9 @@ class User extends RowModel
|
||||||
return $this->getRecord()->notification_offset;
|
return $this->getRecord()->notification_offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getBirthday(): int
|
function getBirthday(): ?int
|
||||||
{
|
{
|
||||||
try {
|
return $this->getRecord()->birthday;
|
||||||
return $this->getRecord()->birthday;
|
|
||||||
} catch (Exception $xe) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateNotificationOffset(): void
|
function updateNotificationOffset(): void
|
||||||
|
|
Loading…
Reference in a new issue