Skip to content

Commit

Permalink
Changed the feature config root key from vanilo.foundation.features
Browse files Browse the repository at this point in the history
… to `vanilo.features`
  • Loading branch information
fulopattila122 committed Feb 19, 2024
1 parent f16e6e7 commit b5e3ae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Support/Features/MultiChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', []);
}
}
4 changes: 2 additions & 2 deletions src/Support/Features/Pricing.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand All @@ -31,6 +31,6 @@ public function isDisabled(): bool

public function configuration(): array
{
return config('vanilo.foundation.features.pricing', []);
return config('vanilo.features.pricing', []);
}
}

0 comments on commit b5e3ae2

Please sign in to comment.