You are here

function noreferrer_cron in No Referrer 8

Same name and namespace in other branches
  1. 7 noreferrer.module \noreferrer_cron()

Implements hook_cron().

File

./noreferrer.module, line 61
No Referrer module.

Code

function noreferrer_cron() {
  if ($url = \Drupal::config('noreferrer.settings')
    ->get('subscribe_url')) {
    noreferrer_subscribe($url);
  }
}