Commit 127a4430 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: drop Subscription Condition usage

parent d4650c5e
...@@ -4,7 +4,7 @@ We want to reset reference, which is the user login in ERP5Security. ...@@ -4,7 +4,7 @@ We want to reset reference, which is the user login in ERP5Security.
One exception is when a person object is installed from business template. One exception is when a person object is installed from business template.
""" """
# Slave Instance don't have user id to be set. # Slave Instance don't have user id to be set.
if context.getPortalType() in ["Slave Instance", "Subscription Condition"]: if context.getPortalType() in ["Slave Instance"]:
return return
context.setUserId(None) context.setUserId(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