Remove forgotten Label::createDefaultLabelsFor call on Site event

This commit is contained in:
Jérémy Munsch 2022-06-14 09:28:16 +02:00
parent b759a04fdb
commit 7baccfc26f
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -174,9 +174,6 @@ class Site extends Model
*/
protected static function booted()
{
static::created(function (self $site) {
Label::createDefaultLabelsFor($site);
});
static::updated(function (self $site) {
event(new SiteUpdated($site, \auth()->user()));
});