From 29ceafc1b6e0034da3b08ee4fb5725192c85cabd Mon Sep 17 00:00:00 2001 From: rosslh Date: Thu, 19 Feb 2026 16:37:45 -0800 Subject: [PATCH] chore(branding): remove sponsorship popup remnants --- app/Livewire/Settings/Advanced.php | 6 +----- resources/views/livewire/layout-popups.blade.php | 7 +------ resources/views/livewire/settings/advanced.blade.php | 5 +---- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/app/Livewire/Settings/Advanced.php b/app/Livewire/Settings/Advanced.php index ad478273f..70ea11ea1 100644 --- a/app/Livewire/Settings/Advanced.php +++ b/app/Livewire/Settings/Advanced.php @@ -28,8 +28,7 @@ class Advanced extends Component public ?string $allowed_ips = null; - #[Validate('boolean')] - public bool $is_sponsorship_popup_enabled; + // MapleDeploy branding: is_sponsorship_popup_enabled removed (popup removed) #[Validate('boolean')] public bool $disable_two_step_confirmation; @@ -46,7 +45,6 @@ public function rules() 'custom_dns_servers' => 'nullable|string', 'is_api_enabled' => 'boolean', 'allowed_ips' => ['nullable', 'string', new ValidIpOrCidr], - 'is_sponsorship_popup_enabled' => 'boolean', 'disable_two_step_confirmation' => 'boolean', 'is_wire_navigate_enabled' => 'boolean', ]; @@ -65,7 +63,6 @@ public function mount() $this->is_dns_validation_enabled = $this->settings->is_dns_validation_enabled; $this->is_api_enabled = $this->settings->is_api_enabled; $this->disable_two_step_confirmation = $this->settings->disable_two_step_confirmation; - $this->is_sponsorship_popup_enabled = $this->settings->is_sponsorship_popup_enabled; $this->is_wire_navigate_enabled = $this->settings->is_wire_navigate_enabled ?? true; } @@ -147,7 +144,6 @@ public function instantSave() $this->settings->custom_dns_servers = $this->custom_dns_servers; $this->settings->is_api_enabled = $this->is_api_enabled; $this->settings->allowed_ips = $this->allowed_ips; - $this->settings->is_sponsorship_popup_enabled = $this->is_sponsorship_popup_enabled; $this->settings->disable_two_step_confirmation = $this->disable_two_step_confirmation; $this->settings->is_wire_navigate_enabled = $this->is_wire_navigate_enabled; $this->settings->save(); diff --git a/resources/views/livewire/layout-popups.blade.php b/resources/views/livewire/layout-popups.blade.php index e69dac5f1..26cb055f7 100644 --- a/resources/views/livewire/layout-popups.blade.php +++ b/resources/views/livewire/layout-popups.blade.php @@ -1,12 +1,10 @@
/subscription to update your subscription @endif