Compare commits

...

8 Commits

2 changed files with 4 additions and 1 deletions
+4 -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();
@@ -1143,6 +1143,9 @@ class DecWeb {
'Advanced' => 7, 'Advanced' => 7,
'Basic' => 11, 'Basic' => 11,
], ],
'BusinessFactsPremium' => [
'Advanced' => 10,
],
]; ];
$subscription_serial = $subscription_map[$legacy_subscription_name][$legacy_service_level] ?? null; $subscription_serial = $subscription_map[$legacy_subscription_name][$legacy_service_level] ?? null;
View File