Skip to content

Commit

Permalink
[#3117] Remove site_url_nice from app_globals
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Jun 16, 2016
1 parent b4a9a5b commit 2a726ab
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ckan/lib/app_globals.py
Expand Up @@ -169,13 +169,9 @@ def get_config_value(key, default=''):
for key in schema.keys():
get_config_value(key)

# cusom styling
# custom styling
main_css = get_config_value('ckan.main_css', '/base/css/main.css')
set_main_css(main_css)
# site_url_nice
site_url_nice = app_globals.site_url.replace('http://', '')
site_url_nice = site_url_nice.replace('www.', '')
app_globals.site_url_nice = site_url_nice

if app_globals.site_logo:
app_globals.header_class = 'header-image'
Expand Down

0 comments on commit 2a726ab

Please sign in to comment.