remove awx-manage migrate_to_database_settings

This commit is contained in:
Ryan Petrello
2019-01-29 17:53:49 -05:00
parent 2927803a82
commit 1eeffe4ae2
3 changed files with 3 additions and 483 deletions

View File

@@ -299,7 +299,7 @@ class SettingsWrapper(UserSettingsHolder):
self.__dict__['_awx_conf_preload_expires'] = time.time() + SETTING_CACHE_TIMEOUT
# Check for any settings that have been defined in Python files and
# make those read-only to avoid overriding in the database.
if not self._awx_conf_init_readonly and 'migrate_to_database_settings' not in sys.argv:
if not self._awx_conf_init_readonly:
defaults_snapshot = self._get_default('DEFAULTS_SNAPSHOT')
for key in get_writeable_settings(self.registry):
init_default = defaults_snapshot.get(key, None)