Commit 178b7e0c authored by Aurel's avatar Aurel

wip : deactivate some import, Globals is only for BBB, we don't use publish

parent 9829b291
......@@ -90,7 +90,7 @@ from Products.ERP5Type.patches import ZopePageTemplate
from Products.ERP5Type.patches import ZSQLMethod
from Products.ERP5Type.patches import MimetypesRegistry
from Products.ERP5Type.patches import users
from Products.ERP5Type.patches import Publish
#from Products.ERP5Type.patches import Publish
from Products.ERP5Type.patches import WSGITask
from Products.ERP5Type.patches import urllib_opener
......
......@@ -26,7 +26,7 @@ import os
from .itools.i18n import AcceptLanguageType
# Import from Zope
import Globals
# import Globals
from ZPublisher import Publish
from ZPublisher.HTTPRequest import HTTPRequest
from zope.globalrequest import clearRequest, setRequest
......@@ -74,8 +74,9 @@ if patch is False:
Publish.publish = get_new_publish(Publish.publish)
patch = True
# Add to Globals for backwards compatibility
Globals.get_request = get_request
# Add to Globals for backwards compatibility
# XXX-AUREL do we really care ?
# Globals.get_request = get_request
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment