remove unnecessary things

This commit is contained in:
Andras Bacsai
2024-12-03 14:09:51 +01:00
parent 869eaedaf5
commit ec9315f24e
11 changed files with 12 additions and 19 deletions

View File

@@ -127,13 +127,6 @@ class Team extends Model implements SendsDiscord, SendsEmail
];
}
public function name(): Attribute
{
return new Attribute(
get: fn () => sanitize_string($this->getRawOriginal('name')),
);
}
public function getRecepients($notification)
{
$recipients = data_get($notification, 'emails', null);