Skip to content

Commit 3304d6d

Browse files
committed
Remove license validation logic from Nova store and service provider
1 parent 7bcc54d commit 3304d6d

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

resources/js/store/nova.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export default {
1313
version: '5.x',
1414
mainMenuShown: false,
1515
canLeaveModal: true,
16-
validLicense: true,
1716
queryStringParams: {},
1817
compiledQueryStringParams: '',
1918
}),
@@ -27,7 +26,6 @@ export default {
2726
breadcrumbs: s => s.breadcrumbs,
2827
mainMenuShown: s => s.mainMenuShown,
2928
canLeaveModal: s => s.canLeaveModal,
30-
validLicense: s => s.validLicense,
3129
queryStringParams: s => s.queryStringParams,
3230
},
3331

@@ -127,13 +125,11 @@ export default {
127125
let { resources, base, version, mainMenu, userMenu } = config
128126

129127
let user = props.currentUser
130-
let validLicense = props.validLicense
131128
let breadcrumbs = props.breadcrumbs
132129

133130
Nova.appConfig = config
134131
state.breadcrumbs = breadcrumbs || []
135132
state.currentUser = user
136-
state.validLicense = validLicense
137133
state.resources = resources
138134
state.baseUri = base
139135
state.version = version

src/NovaServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public function register(): void
7979
Console\FieldCommand::class,
8080
Console\InstallCommand::class,
8181
Console\LensCommand::class,
82-
Console\CheckLicenseCommand::class,
8382
Console\PartitionCommand::class,
8483
Console\PolicyMakeCommand::class,
8584
Console\ProgressCommand::class,

0 commit comments

Comments
 (0)