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