subscr-run.tcl

Run a report for the given subscription.

Location:
/packages/rss-support/www/subscr-run.tcl

Related Files

[ hide source ] | [ make this the default ]

File Contents

ad_page_contract {
    Run a report for the given subscription.
} {
    subscr_id:notnull,naturalnum
    return_url:localurl,notnull
}

permission::require_permission -object_id $subscr_id -privilege admin

rss_gen_report $subscr_id

ad_returnredirect $return_url

# Local variables:
#    mode: tcl
#    tcl-indent-level: 4
#    indent-tabs-mode: nil
# End: