You are here

function comment_notify_get_default_notification_setting in Comment Notify 7

2 calls to comment_notify_get_default_notification_setting()
comment_notify_get_user_comment_notify_preference in ./comment_notify.inc
Get a user's default preference for comment notification.
comment_notify_get_user_node_notify_preference in ./comment_notify.inc
Get a user's default preference for node update notification.

File

./comment_notify.inc, line 48
Contains functions which utilize the database and other internal helpers.

Code

function comment_notify_get_default_notification_setting() {
  return (object) array(
    'comment_notify' => comment_notify_variable_registry_get('default_registered_mailalert'),
    'node_notify' => comment_notify_variable_registry_get('node_notify_default_mailalert'),
  );
}