Commit 3adda0f2 authored by Jérome Perrin's avatar Jérome Perrin

remove commented out compatibility code


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31755 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fdc75d42
...@@ -46,7 +46,6 @@ class Predicate: ...@@ -46,7 +46,6 @@ class Predicate:
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'membership_criterion_base_category', # OR, we check if we have one { 'id' : 'membership_criterion_base_category', # OR, we check if we have one
# of theses categories # of theses categories
#'storage_id' : 'domain_base_category_list', # Compatibility with legacy implementation
'description' : 'The base categories to test', 'description' : 'The base categories to test',
'type' : 'tokens', 'type' : 'tokens',
'default' : (), 'default' : (),
...@@ -58,7 +57,6 @@ class Predicate: ...@@ -58,7 +57,6 @@ class Predicate:
'default' : (), 'default' : (),
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'membership_criterion_category', { 'id' : 'membership_criterion_category',
#'storage_id' : 'predicate_value', # Compatibility with legacy implementation
'description' : 'The predicate categories', 'description' : 'The predicate categories',
'type' : 'lines', 'type' : 'lines',
'default' : (), 'default' : (),
...@@ -71,24 +69,6 @@ class Predicate: ...@@ -71,24 +69,6 @@ class Predicate:
# 'description' : 'A string defining default values for parameters (python syntax)', # 'description' : 'A string defining default values for parameters (python syntax)',
# 'type' : 'string', # 'type' : 'string',
# 'mode' : 'w' }, # 'mode' : 'w' },
# Compatibility with legacy implementation
# { 'id' : 'predicate_property',
# 'description' : 'The properties to use for the predicate',
# 'type' : 'string',
# 'mode' : 'w' }, # Make sure previous code still works, so w mode
# { 'id' : 'predicate_operator',
# 'description' : 'The operator to use for the predicate',
# 'type' : 'string',
# 'mode' : 'w' }, # Make sure previous code still works, so w mode
# { 'id' : 'predicate_value',
# 'description' : 'The value to use for the predicate' \
# 'this value can be multiple',
# 'type' : 'lines',
# 'mode' : 'w' }, # Make sure previous code still works, so w mode
# { 'id' : 'predicate_type',
# 'description' : 'The type of the value',
# 'type' : 'string',
# 'mode' : 'w' }, # Make sure previous code still works, so w mode
) )
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