As suggested by Elrond, we use only one setting

This commit is contained in:
Michele Azzolari
2012-01-12 00:00:28 +01:00
parent f502a89b6d
commit 7f251b037b
3 changed files with 2 additions and 3 deletions

View File

@@ -235,7 +235,7 @@ def atom_feed(request):
'rel': 'alternate',
'type': 'text/html'
}];
if mg_globals.app_config["push_enabled"]:
if mg_globals.app_config["push_url"]:
atomlinks.append({
'rel': 'hub',
'href': mg_globals.app_config["push_url"]})