process_unsubscription

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 "process_unsubscription".
... in process_unsubscription.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
<override_macro name="process_unsubscription">
    <n.if.not.is_null.unsubscribe_email_parameter>
        <then>
            <n.set_local_subscription.page_node.subscription_for email="[n.unsubscribe_email_parameter/]" />
            <n.if.local_subscription.is_subscribed>
                <then>
                    <n.local_subscription.remove/>
                    <n.comment.>removed unsubscription reminder</n.comment.>
                </then>
            </n.if.local_subscription.is_subscribed>
        </then>
    </n.if.not.is_null.unsubscribe_email_parameter>
</override_macro>
Overrides default macro
... in manage_subscribers.naml
121
122
123
124
125
126
127
128
129
130
131
132
133
<macro name="process_unsubscription">
    <n.if.not.is_null.unsubscribe_email_parameter>
        <then>
            <n.set_local_subscription.page_node.subscription_for email="[n.unsubscribe_email_parameter/]" />
            <n.if.local_subscription.is_subscribed>
                <then>
                    <n.local_subscription.remove/>
                    <n.local_subscription.send_unsubscription_reminder/>
                </then>
            </n.if.local_subscription.is_subscribed>
        </then>
    </n.if.not.is_null.unsubscribe_email_parameter>
</macro>