templates: Replace not_voyager check with dropboxAppKey check.

Also remove useless/confusing value of DROPBOX_APP_KEY in
DEFAULT_SETTINGS (it's overridden by the get_secret call anyway).
This commit is contained in:
Tim Abbott
2016-07-18 22:09:18 -07:00
parent ff1faffecd
commit 543311848d
2 changed files with 1 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
<![endif]-->
<link href="/static/favicon.ico?v=2" rel="shortcut icon">
{% if not_voyager %}
{% if dropboxAppKey %}
<script type="text/javascript">var dropboxAppKey = "{{ dropboxAppKey }}";</script>
{% endif %}

View File

@@ -112,7 +112,6 @@ DEFAULT_SETTINGS = {'TWITTER_CONSUMER_KEY': '',
'S3_AVATAR_BUCKET': '',
'LOCAL_UPLOADS_DIR': None,
'MAX_FILE_UPLOAD_SIZE': 25,
'DROPBOX_APP_KEY': '',
'ERROR_REPORTING': True,
'STAGING_ERROR_NOTIFICATIONS': False,
'SAVE_FRONTEND_STACKTRACES': False,