You are here

function ad_notify_adapi in Advertisement 5.2

Same name and namespace in other branches
  1. 5 notify/ad_notify.module \ad_notify_adapi()
  2. 6 notify/ad_notify.module \ad_notify_adapi()

Adapi _hook implementation.

File

notify/ad_notify.module, line 220
Receive email notifications regarding ads.

Code

function ad_notify_adapi($op, &$node) {
  $output = NULL;
  switch ($op) {
    case 'statistics_increment':
      break;
    case 'permissions':
      return array(
        'manage own notifications' => TRUE,
        'edit notification email' => TRUE,
      );
      break;
  }
}