Add disclaimer.

This commit is contained in:
James Cole
2025-10-26 09:55:51 +01:00
parent 99651bb61e
commit cb77609f27

View File

@@ -88,7 +88,7 @@ trait UserGroupTrait
public function setUserGroup(UserGroup $userGroup): void public function setUserGroup(UserGroup $userGroup): void
{ {
if (null === $this->user) { if (null === $this->user) {
Log::warning(sprintf('User is not set in repository %s', static::class)); Log::warning(sprintf('User is not set in repository %s. This does not have to be a problem.', static::class));
} }
$this->userGroup = $userGroup; $this->userGroup = $userGroup;
} }