diff -r e9611a2288ca -r 6fd5c561b446 app/soc/views/sitemap/sidebar.py --- a/app/soc/views/sitemap/sidebar.py Sun Jan 25 16:25:17 2009 +0000 +++ b/app/soc/views/sitemap/sidebar.py Sun Jan 25 16:28:07 2009 +0000 @@ -25,6 +25,8 @@ from soc.views import out_of_band from soc.views.helper import access +import soc.cache.sidebar + SIDEBAR = [] SIDEBAR_ACCESS_ARGS = ['SIDEBAR_CALLING'] @@ -40,6 +42,8 @@ global SIDEBAR SIDEBAR.append(callback) + +@soc.cache.sidebar.cache def getSidebar(): """Constructs a sidebar for the current user. """