Code clean up. Remove some duplicate keys; Remove some unused parameters; Fix some FQCN;
This commit is contained in:
@@ -146,7 +146,7 @@ class SubscribeController extends Controller
|
||||
if ($subscription) {
|
||||
dispatch(new UnsubscribeSubscriptionCommand(Subscription::forSubscriber($subscriber->id)->firstOrFail()));
|
||||
} else {
|
||||
dispatch(new UnsubscribeSubscriberCommand($subscriber, $subscription));
|
||||
dispatch(new UnsubscribeSubscriberCommand($subscriber));
|
||||
}
|
||||
|
||||
return cachet_redirect('status-page')
|
||||
|
||||
Reference in New Issue
Block a user