Added Notify Admin webhook for XML Instantiation failure

This commit is contained in:
2026-07-15 20:49:03 -04:00
parent 5a91eb53a2
commit 3f000d95ea
+1 -1
View File
@@ -45,6 +45,7 @@ class DecWeb {
if ($this->settings->count() === 0) { if ($this->settings->count() === 0) {
$this->sendWebHookAlert("Notifying Admin...", "DecWebSync : Unable to initialize settings");
error_log("DecWebSync : Unable to initialize settings"); error_log("DecWebSync : Unable to initialize settings");
exit(); exit();
} }
@@ -1089,7 +1090,6 @@ class DecWeb {
$this->log("Migrating Purchased Services from 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"); $this->realestatedatainc_connection->exec("delete from usersubscriptions where usersubscription_user != 1");
$purchasedservices = $this->getPurchasedServices(); $purchasedservices = $this->getPurchasedServices();