You are here

function comment_notify_user_load in Comment Notify 7

File

./comment_notify.module, line 386
This module provides comment follow-up e-mail notification for anonymous and registered users.

Code

function comment_notify_user_load($users) {
  module_load_include('inc', 'comment_notify', 'comment_notify');

  // @todo: Why would we want to load this on every user load?
  foreach ($users as &$user) {
    $user->comment_notify_settings = comment_notify_get_user_notification_setting($user->uid);
  }
  return;
}