diff --git a/classes/DecWeb.php b/classes/DecWeb.php
index 41974db..238d4c9 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();
@@ -1143,6 +1143,9 @@ class DecWeb {
'Advanced' => 7,
'Basic' => 11,
],
+ 'BusinessFactsPremium' => [
+ 'Advanced' => 10,
+ ],
];
$subscription_serial = $subscription_map[$legacy_subscription_name][$legacy_service_level] ?? null;
diff --git a/xml/settings.xml b/xml/settings.xml
index 17f5ef4..93314a6 100644
--- a/xml/settings.xml
+++ b/xml/settings.xml
@@ -17,16 +17,16 @@
-
- localhost
+ 192.168.1.190
+
decweb
decuser
hype23dec
-
- localhost
+ 192.168.1.190
+
realestatedatainc
ddruser
hype23decdr
@@ -48,8 +48,8 @@
-
- Production
+ Development
+
Available
On