Commit 5d3abbc3 authored by Sebastien Robin's avatar Sebastien Robin

remove last_path validation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1814 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50035c17
...@@ -307,13 +307,6 @@ class SQLDict(RAMDict): ...@@ -307,13 +307,6 @@ class SQLDict(RAMDict):
return INVALID_ORDER return INVALID_ORDER
return VALID return VALID
def _validate_last_path(self, activity_tool, message, value):
# We want to run this activity after all others for this specific path
result = activity_tool.SQLDict_validateMessageList(method_id=None, message_uid=None, path=value)
if result[0].uid_count > 1:
return INVALID_ORDER
return VALID
def _validate_after_message_uid(self, activity_tool, message, value): def _validate_after_message_uid(self, activity_tool, message, value):
# Count number of occurances of message_uid # Count number of occurances of message_uid
result = activity_tool.SQLDict_validateMessageList(method_id=None, message_uid=value, path=None) result = activity_tool.SQLDict_validateMessageList(method_id=None, message_uid=value, path=None)
......
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