Add changelog inside the application (#1172)
This commit is contained in:
@@ -27,6 +27,8 @@ class SettingsController extends Controller
|
||||
'activity_types',
|
||||
'api_usage',
|
||||
'cache',
|
||||
'changelog_user',
|
||||
'changelogs',
|
||||
'countries',
|
||||
'currencies',
|
||||
'default_contact_field_types',
|
||||
@@ -119,7 +121,7 @@ class SettingsController extends Controller
|
||||
|
||||
$account = auth()->user()->account;
|
||||
|
||||
if ($account->isSubscribed()) {
|
||||
if ($account->isSubscribed() && auth()->user()->has_access_to_paid_version_for_free == 0) {
|
||||
$account->subscription($account->getSubscribedPlanName())->cancelNow();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user