mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +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