Commit 1e66e5ed authored by Nicolas Delaby's avatar Nicolas Delaby

code cleaning

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27370 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 39ff89e7
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2005 Nexedi SARL and Contributors. All Rights Reserved.
......@@ -30,7 +31,6 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type import PropertySheet
from Products.ERP5Type import Permissions
from Products.ERP5.PropertySheet.SortIndex import SortIndex
from Products.ERP5Type.PropertySheet.BaseCache import BaseCache
from Products.ERP5Type.PropertySheet.DistributedRamCache import DistributedRamCache
......@@ -39,14 +39,14 @@ class DistributedRamCache(XMLObject):
DistributedRamCache is a Zope (persistent) representation of
the Distributed RAM Cache real cache plugin object.
"""
meta_type='ERP5 Distributed Ram Cache'
portal_type='Distributed Ram Cache'
isPortalContent = 1
isRADContent = 1
allowed_types = ()
security = ClassSecurityInfo()
security.declareProtected(Permissions.ManagePortal,
'manage_editProperties',
......@@ -57,7 +57,7 @@ class DistributedRamCache(XMLObject):
property_sheets = ( PropertySheet.Base
, PropertySheet.SimpleItem
, PropertySheet.Folder
, PropertySheet.SortIndex
, BaseCache
, SortIndex
, DistributedRamCache
, DistributedRamCache
)
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