... | in unsubscribe_user_all.naml |
42 43 44 45 46 47 48 49 50 51 52 53
|
<macro name='unsub_descendants' requires='node' parameters='user'>
<n.set_local_user.user/>
<n.set_local_subscription.page_node.subscription_for email="[n.local_user.user_email/]" />
<n.this_node.descendant_apps_list.>
<n.loop.>
<n.set_local_subscription.current_node.subscription_for email="[n.local_user.user_email/]" />
<n.if.current_node.local_subscription.is_subscribed>
<then.current_node.local_subscription.remove/>
</n.if.current_node.local_subscription.is_subscribed>
</n.loop.>
</n.this_node.descendant_apps_list.>
</macro>
|
Free forum by Nabble | Edit this page |