Commit f7f404ee authored by Sebastien Robin's avatar Sebastien Robin

remove after script


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2500 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2a129c11
...@@ -55,11 +55,6 @@ class ERP5TypeInformation( FactoryTypeInformation ): ...@@ -55,11 +55,6 @@ class ERP5TypeInformation( FactoryTypeInformation ):
'label':'Product factory method'}, 'label':'Product factory method'},
{'id':'init_script', 'type': 'string', 'mode':'w', {'id':'init_script', 'type': 'string', 'mode':'w',
'label':'Init Script'}, 'label':'Init Script'},
{'id':'redirect_script'
, 'type': 'string'
, 'mode':'w'
, 'label':'Redirect Script'
},
{'id':'filter_content_types', 'type': 'boolean', 'mode':'w', {'id':'filter_content_types', 'type': 'boolean', 'mode':'w',
'label':'Filter content types?'}, 'label':'Filter content types?'},
{'id':'allowed_content_types' {'id':'allowed_content_types'
...@@ -85,7 +80,6 @@ class ERP5TypeInformation( FactoryTypeInformation ): ...@@ -85,7 +80,6 @@ class ERP5TypeInformation( FactoryTypeInformation ):
property_sheet_list = () property_sheet_list = ()
base_category_list = () base_category_list = ()
init_script = '' init_script = ''
redirect_script = ''
product = 'ERP5Type' product = 'ERP5Type'
immediate_view = 'view' immediate_view = 'view'
...@@ -138,15 +132,6 @@ class ERP5TypeInformation( FactoryTypeInformation ): ...@@ -138,15 +132,6 @@ class ERP5TypeInformation( FactoryTypeInformation ):
result.sort() result.sort()
return result return result
security.declareProtected(ERP5Permissions.AccessContentsInformation, 'getRedirectScript')
def getRedirectScript( self ):
"""
return the redirect script
"""
if self.redirect_script == '':
return None
return self.redirect_script
def manage_editProperties(self, REQUEST): def manage_editProperties(self, REQUEST):
""" """
Method overload Method overload
......
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