Commit 76214f65 authored by Gabriel Monnerat's avatar Gabriel Monnerat

Remove condition to test if the event path destination predicate applies for...

Remove condition to test if the event path destination predicate applies for this destination. On this this case, we can trust on the previous selection using the domain
parent 7ae9efc7
...@@ -54,12 +54,6 @@ ...@@ -54,12 +54,6 @@
\n \n
event_path = portal.restrictedTraverse(event_path)\n event_path = portal.restrictedTraverse(event_path)\n
\n \n
# Test that the event path destination predicate applies for this destination.\n
# Also support the case where the destination is given directly as a node.\n
event_path_destination = event_path.getDestinationValue()\n
if not (context == event_path_destination or event_path_destination.test(context)):\n
return\n
\n
follow_up = event_path.getParentRelativeUrl()\n follow_up = event_path.getParentRelativeUrl()\n
event_portal_type = event_path.getEventPortalType()\n event_portal_type = event_path.getEventPortalType()\n
resource_reference = event_path.getResourceReference()\n resource_reference = event_path.getResourceReference()\n
......
655 656
\ No newline at end of file \ No newline at end of file
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