You are here

function simpleads_campaigns_simpleads_campaign_complete in SimpleAds 7.2

Same name and namespace in other branches
  1. 7 modules/simpleads_campaigns/simpleads_campaigns.module \simpleads_campaigns_simpleads_campaign_complete()

Implements hook_simpleads_campaign_complete().

File

modules/simpleads_campaigns/simpleads_campaigns.module, line 72

Code

function simpleads_campaigns_simpleads_campaign_complete($node, $campaign) {
  $variables = array(
    '@title' => $node->title,
    '@nid' => $node->nid,
    '@campaign' => $campaign->title,
    '@campaign-nid' => $campaign->nid,
  );
  watchdog('simpleads_campaigns', '@title (@nid) successfully completed @campaign (@campaign-nid).', $variables, WATCHDOG_INFO);
}