make the domain locking code more clear

This commit is contained in:
Girish Ramakrishnan
2018-10-30 20:28:43 -07:00
parent eed8f109bc
commit 0ba0b009c7
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -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');
}