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 b62feae commit 2ec2c9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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 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 2ec2c9f

Please sign in to comment.