You are here

function akamai_get_notification_email in Akamai 6.2

Same name and namespace in other branches
  1. 8 akamai.module \akamai_get_notification_email()
  2. 8.2 akamai.module \akamai_get_notification_email()
  3. 6 akamai.module \akamai_get_notification_email()
  4. 7 akamai.module \akamai_get_notification_email()

Get the email address for notification.

2 calls to akamai_get_notification_email()
akamai_cache_control in ./akamai.admin.inc
General cache clearing page.
akamai_clear_url in ./akamai.module
Clear a URL from Akamai. Clears node/id and any url aliases.

File

./akamai.module, line 252
Integration with the Akamai CDN Cache Control Web Service.

Code

function akamai_get_notification_email() {
  $notification = variable_get('akamai_email', '');
  if (empty($notification)) {
    global $user;
    $notification = $user->mail;
  }
  return $notification;
}