mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Clubs: Added a getWebsite function
This commit is contained in:
parent
9cef1f630f
commit
33f027b84b
1 changed files with 5 additions and 0 deletions
|
@ -336,6 +336,11 @@ class Club extends RowModel
|
|||
|
||||
return !is_null($this->getRecord()->related("group_coadmins.club")->where("user", $id)->fetch());
|
||||
}
|
||||
|
||||
function getWebsite(): ?string
|
||||
{
|
||||
return $this->getRecord()->website;
|
||||
}
|
||||
|
||||
use Traits\TSubscribable;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue