From 3f000d95ea8fc87534b02827ccd1ab754e0020ec Mon Sep 17 00:00:00 2001 From: James Richie Date: Wed, 15 Jul 2026 20:49:03 -0400 Subject: [PATCH] Added Notify Admin webhook for XML Instantiation failure --- classes/DecWeb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/DecWeb.php b/classes/DecWeb.php index 41974db..fad64d2 100644 --- a/classes/DecWeb.php +++ b/classes/DecWeb.php @@ -45,6 +45,7 @@ class DecWeb { if ($this->settings->count() === 0) { + $this->sendWebHookAlert("Notifying Admin...", "DecWebSync : Unable to initialize settings"); error_log("DecWebSync : Unable to initialize settings"); exit(); } @@ -1089,7 +1090,6 @@ class DecWeb { $this->log("Migrating Purchased Services from decweb"); -// $this->realestatedatainc_connection->exec("TRUNCATE TABLE usersubscriptions"); $this->realestatedatainc_connection->exec("delete from usersubscriptions where usersubscription_user != 1"); $purchasedservices = $this->getPurchasedServices();