Commit 1b756af7 authored by Fred Drake's avatar Fred Drake

CacheManager.initialize_cache() is no longer needed, so remove it.

parent 2bdc12d5
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
This class is mixed into the database manager in App.ApplicationManager. This class is mixed into the database manager in App.ApplicationManager.
$Id: CacheManager.py,v 1.29 2003/11/03 19:08:44 fdrake Exp $''' $Id: CacheManager.py,v 1.30 2003/11/05 05:54:12 fdrake Exp $'''
__version__='$Revision: 1.29 $'[11:-2] __version__='$Revision: 1.30 $'[11:-2]
import time import time
...@@ -129,10 +129,6 @@ class CacheManager: ...@@ -129,10 +129,6 @@ class CacheManager:
response=REQUEST['RESPONSE'] response=REQUEST['RESPONSE']
response.redirect(REQUEST['URL1']+'/manage_cacheGC') response.redirect(REQUEST['URL1']+'/manage_cacheGC')
def initialize_cache(self):
# Cache is always initialized from the configuration file.
pass
def cache_detail(self, REQUEST=None): def cache_detail(self, REQUEST=None):
""" """
Returns the name of the classes of the objects in the cache Returns the name of the classes of the objects in the cache
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
############################################################################## ##############################################################################
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.193 2003/07/20 16:16:07 chrism Exp $''' $Id: Application.py,v 1.194 2003/11/05 05:54:12 fdrake Exp $'''
__version__='$Revision: 1.193 $'[11:-2] __version__='$Revision: 1.194 $'[11:-2]
import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_ import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_
import time, traceback, os, Products import time, traceback, os, Products
...@@ -269,9 +269,6 @@ def initialize(app): ...@@ -269,9 +269,6 @@ def initialize(app):
get_transaction().note('Added Control_Panel') get_transaction().note('Added Control_Panel')
get_transaction().commit() get_transaction().commit()
# Initialize the cache:
app.Control_Panel.initialize_cache()
# b/c: Ensure that a ProductFolder exists. # b/c: Ensure that a ProductFolder exists.
if not hasattr(aq_base(app.Control_Panel), 'Products'): if not hasattr(aq_base(app.Control_Panel), 'Products'):
app.Control_Panel.Products=App.Product.ProductFolder() app.Control_Panel.Products=App.Product.ProductFolder()
......
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