unsub_descendants

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "unsub_descendants".
... 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>