function ad_notify_adowners in Advertisement 5
Same name and namespace in other branches
- 5.2 notify/ad_notify.module \ad_notify_adowners()
- 6 notify/ad_notify.module \ad_notify_adowners()
Adowners _hook().
File
- notify/
ad_notify.module, line 594 - Receive email notifications regarding ads.
Code
function ad_notify_adowners($op, $arg1 = NULL, $arg2 = NULL) {
switch ($op) {
case 'overview':
return l(t('notifications'), "node/{$arg1}/adowners/{$arg2}/notifications");
case 'delete':
if ($arg1) {
db_query('DELETE FROM {ad_notify} WHERE oid = %d', $arg1);
}
break;
}
}