Direct Marketing cleanup system

Usable for systems where the history of subscriptions and receipts is not absolutely necessary. The cleanup script will remove all of the following: - org_openpsa_campaign_messagereceipt - org_openpsa_link_log - org_openpsa_campaign_member (where orgOpenpsaObtype is not org_openpsa_directmarketing_campaign_member_dba::TESTER) - org_openpsa_person (without username)

that have not been updated within the configured time (by default one month).

package org.openpsa.directmarketing

 Methods

count ($kept)

Parameters

$kept

delete ()

get_campaign_member_qb ($kept)

Parameters

$kept

get_deletion_timestamp ()

get_message_receipt_qb ($kept)

Parameters

$kept

get_person_qb ($kept)

Parameters

$kept