make the domain locking code more clear
This commit is contained in:
@@ -41,7 +41,6 @@ exports = module.exports = {
|
||||
// feature flags based on editions (these have a separate license from standard edition)
|
||||
isSpacesEnabled: isSpacesEnabled,
|
||||
allowHyphenatedSubdomains: allowHyphenatedSubdomains,
|
||||
isAdminDomainLocked: isAdminDomainLocked,
|
||||
|
||||
// for testing resets to defaults
|
||||
_reset: _reset
|
||||
@@ -227,10 +226,6 @@ function allowHyphenatedSubdomains() {
|
||||
return get('edition') === 'hostingprovider' || get('provider') === 'caas';
|
||||
}
|
||||
|
||||
function isAdminDomainLocked() {
|
||||
return get('edition') === 'hostingprovider';
|
||||
}
|
||||
|
||||
function provider() {
|
||||
return get('provider');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user