Do not let Avis parts be added anywhere

This commit is contained in:
Frédéric Péters 2009-11-22 22:15:31 +01:00
parent dc7fc10ba2
commit 298959000b
2 changed files with 2 additions and 2 deletions

View File

@ -3784,7 +3784,7 @@ class AvisLegis(BaseContent):
portal_type = 'AvisLegis'
allowed_content_types = []
filter_content_types = 0
global_allow = 1
global_allow = False
#content_icon = 'Avis.gif'
immediate_view = 'base_view'
default_view = 'base_view'

View File

@ -760,7 +760,7 @@ class AvisSimplif(BaseContent):
portal_type = 'AvisSimplif'
allowed_content_types = []
filter_content_types = 0
global_allow = 1
global_allow = False
#content_icon = 'Avis.gif'
immediate_view = 'base_view'
default_view = 'base_view'