app/soc/modules/ghop/callback.py
changeset 2787 8408741aee63
parent 2785 bb6064b9fc9d
child 2895 cad75f6ba411
--- a/app/soc/modules/ghop/callback.py	Sat Aug 22 04:05:48 2009 +0530
+++ b/app/soc/modules/ghop/callback.py	Mon Aug 24 04:31:23 2009 +0530
@@ -21,11 +21,6 @@
   ]
 
 
-from soc.modules.ghop.views.models import organization
-from soc.modules.ghop.views.models import program
-from soc.modules.ghop.views.models import timeline
-
-
 class Callback(object):
   """Callback object that handles interaction between the core.
   """
@@ -44,17 +39,9 @@
 
     self.core.requireUniqueService('registerWithSitemap')
 
-    self.core.registerSitemapEntry(organization.view.getDjangoURLPatterns())
-    self.core.registerSitemapEntry(program.view.getDjangoURLPatterns())
-    self.core.registerSitemapEntry(timeline.view.getDjangoURLPatterns())
-
   def registerWithSidebar(self):
     """Called by the server when sidebar entries should be registered.
     """
 
     # require that we had the chance to register the urls we need with the sitemap
     self.core.requireUniqueService('registerWithSidebar')
-
-    self.core.registerSidebarEntry(organization.view.getExtraMenus)
-    self.core.registerSidebarEntry(organization.view.getSidebarMenus)
-    self.core.registerSidebarEntry(program.view.getSidebarMenus)