Clubs: Added a getWebsite function

This commit is contained in:
Ilya Prokopenko 2021-11-13 19:21:46 +07:00
parent 9cef1f630f
commit 33f027b84b
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56

View file

@ -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;
}