Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
1b756af7
Commit
1b756af7
authored
Nov 05, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CacheManager.initialize_cache() is no longer needed, so remove it.
parent
2bdc12d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
lib/python/App/CacheManager.py
lib/python/App/CacheManager.py
+2
-6
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+2
-5
No files found.
lib/python/App/CacheManager.py
View file @
1b756af7
...
...
@@ -14,8 +14,8 @@
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 $'''
__version__
=
'$Revision: 1.
29
$'
[
11
:
-
2
]
$Id: CacheManager.py,v 1.
30 2003/11/05 05:54:12
fdrake Exp $'''
__version__
=
'$Revision: 1.
30
$'
[
11
:
-
2
]
import
time
...
...
@@ -129,10 +129,6 @@ class CacheManager:
response
=
REQUEST
[
'RESPONSE'
]
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
):
"""
Returns the name of the classes of the objects in the cache
...
...
lib/python/OFS/Application.py
View file @
1b756af7
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Application support
$Id: Application.py,v 1.19
3 2003/07/20 16:16:07 chrism
Exp $'''
__version__
=
'$Revision: 1.19
3
$'
[
11
:
-
2
]
$Id: Application.py,v 1.19
4 2003/11/05 05:54:12 fdrake
Exp $'''
__version__
=
'$Revision: 1.19
4
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
Products
...
...
@@ -269,9 +269,6 @@ def initialize(app):
get_transaction
().
note
(
'Added Control_Panel'
)
get_transaction
().
commit
()
# Initialize the cache:
app
.
Control_Panel
.
initialize_cache
()
# b/c: Ensure that a ProductFolder exists.
if
not
hasattr
(
aq_base
(
app
.
Control_Panel
),
'Products'
):
app
.
Control_Panel
.
Products
=
App
.
Product
.
ProductFolder
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment