mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Remove unused FULL_NAVBAR configuration setting.
(imported from commit 47c3be669f7ba44426301a46e3f54054f3e2440b)
This commit is contained in:
@@ -7,7 +7,6 @@ from zproject.backends import password_auth_enabled, dev_auth_enabled, google_au
|
|||||||
def add_settings(request):
|
def add_settings(request):
|
||||||
realm = request.user.realm if hasattr(request.user, "realm") else None
|
realm = request.user.realm if hasattr(request.user, "realm") else None
|
||||||
return {
|
return {
|
||||||
'full_navbar': settings.FULL_NAVBAR,
|
|
||||||
# We use the not_enterprise variable name so that templates
|
# We use the not_enterprise variable name so that templates
|
||||||
# will render even if the appropriate context is not provided
|
# will render even if the appropriate context is not provided
|
||||||
# to the template
|
# to the template
|
||||||
|
|||||||
@@ -796,11 +796,6 @@ if POPULATE_PROFILE_VIA_LDAP and \
|
|||||||
else:
|
else:
|
||||||
POPULATE_PROFILE_VIA_LDAP = 'zproject.backends.ZulipLDAPAuthBackend' in AUTHENTICATION_BACKENDS or POPULATE_PROFILE_VIA_LDAP
|
POPULATE_PROFILE_VIA_LDAP = 'zproject.backends.ZulipLDAPAuthBackend' in AUTHENTICATION_BACKENDS or POPULATE_PROFILE_VIA_LDAP
|
||||||
|
|
||||||
if DEPLOYED:
|
|
||||||
FULL_NAVBAR = False
|
|
||||||
else:
|
|
||||||
FULL_NAVBAR = True
|
|
||||||
|
|
||||||
# If an email host is not specified, fail silently and gracefully
|
# If an email host is not specified, fail silently and gracefully
|
||||||
if not EMAIL_HOST and DEPLOYED:
|
if not EMAIL_HOST and DEPLOYED:
|
||||||
EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
|
EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
|
||||||
|
|||||||
Reference in New Issue
Block a user