From 115a8699275fb13df47b569a4855c8af6ea2b8ec Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Tue, 30 Apr 2024 15:14:36 +0200 Subject: [PATCH 1/6] #13312 new free license 2 --- pandora_console/godmode/setup/license.php | 5 +++++ pandora_console/godmode/um_client/index.php | 2 +- .../update_manager/modal_lts_update.php | 4 ++-- .../wizards/DiscoveryTaskList.class.php | 3 +++ .../godmode/wizards/HostDevices.class.php | 4 ++++ .../include/class/ConsoleSupervisor.php | 4 ++++ pandora_console/include/functions_api.php | 22 +++++-------------- 7 files changed, 25 insertions(+), 19 deletions(-) diff --git a/pandora_console/godmode/setup/license.php b/pandora_console/godmode/setup/license.php index 518d4bab97..07597c2627 100644 --- a/pandora_console/godmode/setup/license.php +++ b/pandora_console/godmode/setup/license.php @@ -121,6 +121,11 @@ foreach ($rows as $row) { $settings->{$row['key']} = $row['value']; } +if ($settings->customer_key === 'PANDORA-FREE') { + $license['limit'] = 50; + $license['license_mode'] = 'FREE'; +} + ?>