settings: Extract settings.ZILENCER_ENABLED.

This commit is contained in:
Tim Abbott
2016-07-18 21:38:23 -07:00
parent 0aaa55fb8f
commit 1f4c9eefe4
4 changed files with 7 additions and 5 deletions

View File

@@ -313,6 +313,8 @@ INSTALLED_APPS = [
'zerver',
] + EXTRA_INSTALLED_APPS
ZILENCER_ENABLED = 'zilencer' in INSTALLED_APPS
# Base URL of the Tornado server
# We set it to None when running backend tests or populate_db.
# We override the port number when running frontend tests.