notification::reply::sweep::scan_all_replies (private)

 notification::reply::sweep::scan_all_replies

Defined in packages/notifications/tcl/reply-sweep-procs.tcl

Go through all the delivery methods and scan replies for that delivery method.

Partial Call Graph (max 5 caller/called nodes):
%3 db_list db_list (public) notification::delivery::scan_replies notification::delivery::scan_replies (public) notification::reply::sweep::scan_all_replies notification::reply::sweep::scan_all_replies notification::reply::sweep::scan_all_replies->db_list notification::reply::sweep::scan_all_replies->notification::delivery::scan_replies

Testcases:
No testcase defined.
Source code:
    ns_log Debug "notification::reply::sweep::scan_all_replies starting"

    # Load up the delivery methods
    set delivery_method_ids [db_list select_deliv_methods {}]

    # Loop and scan replies on each one
    foreach delivery_method_id $delivery_method_ids {
        ns_log Debug "scan_all_replies deliv method $delivery_method_id"
        notification::delivery::scan_replies -delivery_method_id $delivery_method_id
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="notification::reply::sweep::scan_all_replies.select_deliv_methods">
    <querytext>
select delivery_method_id from notification_delivery_methods
</querytext>
</fullquery>
packages/notifications/tcl/reply-sweep-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: