--- a/app/soc/modules/ghop/callback.py Wed Sep 09 21:14:22 2009 +0200
+++ b/app/soc/modules/ghop/callback.py Wed Sep 09 22:28:46 2009 +0200
@@ -36,9 +36,6 @@
API_VERSION = 1
- # TODO: set this to True if you want to enable the GHOP module
- ENABLE_MODULE = False
-
def __init__(self, core):
"""Initializes a new Callback object for the specified core.
"""
@@ -51,9 +48,6 @@
self.core.requireUniqueService('registerWithSitemap')
- if not self.ENABLE_MODULE:
- return
-
# register the GHOP Views
self.core.registerSitemapEntry(mentor.view.getDjangoURLPatterns())
self.core.registerSitemapEntry(organization.view.getDjangoURLPatterns())
@@ -73,9 +67,6 @@
# require that we had the chance to register the urls we need with the sitemap
self.core.requireUniqueService('registerWithSidebar')
- if not self.ENABLE_MODULE:
- return
-
# register the GHOP menu entries
self.core.registerSidebarEntry(mentor.view.getSidebarMenus)
self.core.registerSidebarEntry(organization.view.getExtraMenus)