remove outdated license references

This commit is contained in:
Christian M. Adams 2020-10-22 14:59:48 -04:00 committed by Ryan Petrello
parent 0a23bb6e36
commit b609e4ee84
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777
2 changed files with 0 additions and 17 deletions

2
.gitignore vendored
View File

@ -34,8 +34,6 @@ awx/ui_next/coverage/
awx/ui_next/build
awx/ui_next/.env.local
rsyslog.pid
/tower-license
/tower-license/**
tools/prometheus/data
tools/docker-compose/Dockerfile

View File

@ -11,11 +11,6 @@ class Config(base.Base):
'ami-id' in self.license_info or \
'instance-id' in self.license_info
@property
def is_demo_license(self):
return self.license_info.get('demo', False) or \
self.license_info.get('key_present', False)
@property
def is_valid_license(self):
return self.license_info.get('valid_key', False) and \
@ -31,16 +26,6 @@ class Config(base.Base):
def is_awx_license(self):
return self.license_info.get('license_type', None) == 'open'
@property
def is_legacy_license(self):
return self.is_valid_license and \
self.license_info.get('license_type', None) == 'legacy'
@property
def is_basic_license(self):
return self.is_valid_license and \
self.license_info.get('license_type', None) == 'basic'
@property
def is_enterprise_license(self):
return self.is_valid_license and \