# HG changeset patch # User Sverre Rabbelier # Date 1232841679 0 # Node ID 1d852b58b182353f8d2365bdd657406e72e943b8 # Parent 8b5611d5b053e491166140a8ff6486bb4916db92 Use getSingleton in getUniversalContext Patch by: Sverre Rabbelier diff -r 8b5611d5b053 -r 1d852b58b182 app/soc/views/helper/responses.py --- a/app/soc/views/helper/responses.py Sat Jan 24 23:56:34 2009 +0000 +++ b/app/soc/views/helper/responses.py Sun Jan 25 00:01:19 2009 +0000 @@ -113,7 +113,7 @@ context['soc_release'] = release.RELEASE_TAG context['gae_version'] = system.getAppVersion() - settings = site.logic.getFromFields(link_id=site.logic.DEF_SITE_LINK_ID) + settings = site.logic.getSingleton() if settings: context['ga_tracking_num'] = settings.ga_tracking_num