diff --git a/app/Console/Commands/FeatureDisableCommand.php b/app/Console/Commands/FeatureDisableCommand.php index 48838993..96779da0 100644 --- a/app/Console/Commands/FeatureDisableCommand.php +++ b/app/Console/Commands/FeatureDisableCommand.php @@ -11,7 +11,7 @@ class FeatureDisableCommand extends Command { use ResolvesFeatures; - protected $signature = 'feature:disable {feature : The feature class name (e.g., CashflowFeature)} {target : User email or "all" for everyone}'; + protected $signature = 'feature:disable {feature : The feature class name} {target : User email or "all" for everyone}'; protected $description = 'Disable a feature for a specific user or all users'; diff --git a/app/Console/Commands/FeatureEnableCommand.php b/app/Console/Commands/FeatureEnableCommand.php index 3f5459cb..3db522ff 100644 --- a/app/Console/Commands/FeatureEnableCommand.php +++ b/app/Console/Commands/FeatureEnableCommand.php @@ -11,7 +11,7 @@ class FeatureEnableCommand extends Command { use ResolvesFeatures; - protected $signature = 'feature:enable {feature : The feature class name (e.g., CashflowFeature)} {target : User email or "all" for everyone}'; + protected $signature = 'feature:enable {feature : The feature class name} {target : User email or "all" for everyone}'; protected $description = 'Enable a feature for a specific user or all users'; diff --git a/app/Features/CashflowFeature.php b/app/Features/CashflowFeature.php deleted file mode 100644 index 99eade72..00000000 --- a/app/Features/CashflowFeature.php +++ /dev/null @@ -1,13 +0,0 @@ - ! $request->hasCookie('sidebar_state') || $request->cookie('sidebar_state') === 'true', 'features' => [ - 'cashflow' => $user ? Feature::for($user)->active(CashflowFeature::class) : false, + 'cashflow' => true, ], ]; }