From 2ec2c9fe55ae17ecb5714575dd5a29bd161677a8 Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Mon, 19 Feb 2024 15:49:54 +0200 Subject: [PATCH] Changed the feature config root key from `vanilo.foundation.features` to `vanilo.features` --- Features/MultiChannel.php | 2 +- Features/Pricing.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Features/MultiChannel.php b/Features/MultiChannel.php index 1f630d8..b6df0bb 100644 --- a/Features/MultiChannel.php +++ b/Features/MultiChannel.php @@ -30,6 +30,6 @@ public function isDisabled(): bool public function configuration(): array { - return config('vanilo.foundation.features.multi_channel', []); + return config('vanilo.features.multi_channel', []); } } diff --git a/Features/Pricing.php b/Features/Pricing.php index 9a7fcf3..018c9e3 100644 --- a/Features/Pricing.php +++ b/Features/Pricing.php @@ -20,7 +20,7 @@ class Pricing implements Feature { public function isEnabled(): bool { - return config('vanilo.foundation.features.pricing.is_enabled', false) + return config('vanilo.features.pricing.is_enabled', false) && null !== concord()->module('vanilo.pricing'); } @@ -31,6 +31,6 @@ public function isDisabled(): bool public function configuration(): array { - return config('vanilo.foundation.features.pricing', []); + return config('vanilo.features.pricing', []); } }