Commit dad2fcf7 authored by 's avatar

- use Zope2.DB instead of Globals.DB

parent eaf92072
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE # FOR A PARTICULAR PURPOSE.
# #
############################################################################## ##############################################################################
"""System management components""" """System management components"""
...@@ -217,8 +217,8 @@ class DebugManager(Item, Implicit): ...@@ -217,8 +217,8 @@ class DebugManager(Item, Implicit):
} for n in rd] } for n in rd]
def dbconnections(self): def dbconnections(self):
import Globals # for data import Zope2 # for data
return Globals.DB.connectionDebugInfo() return Zope2.DB.connectionDebugInfo()
# Profiling support # Profiling support
...@@ -481,4 +481,3 @@ class AltDatabaseManager(DatabaseManager, CacheManager): ...@@ -481,4 +481,3 @@ class AltDatabaseManager(DatabaseManager, CacheManager):
db_name = ApplicationManager.db_name.im_func db_name = ApplicationManager.db_name.im_func
db_size = ApplicationManager.db_size.im_func db_size = ApplicationManager.db_size.im_func
manage_pack = ApplicationManager.manage_pack.im_func manage_pack = ApplicationManager.manage_pack.im_func
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