From 4cfdf458a8f05d96674e3e193869d4dde5fe50ea Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Mon, 27 May 2024 15:26:11 +0300 Subject: [PATCH] Update Domain.php --- web/app/Models/Domain.php | 6 ++++++ 1 file changed, 6 insertions(+) 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()