diff --git a/web/app/Models/Domain.php b/web/app/Models/Domain.php index 0279022..d11a537 100644 --- a/web/app/Models/Domain.php +++ b/web/app/Models/Domain.php @@ -109,11 +109,11 @@ class Domain extends Model }); -// static::deleted(function ($model) { -// -// ApacheBuild::dispatch(); -// -// }); + static::deleted(function ($model) { + + ApacheBuild::dispatch(); + + }); }