You are here

function _oa_notification_show_skip in Open Atrium Notifications 7.2

Helper to determine if the skip notification checkbox should be shown

Parameters

$node:

Return value

bool

1 call to _oa_notification_show_skip()
oa_notifications_form_fields in ./oa_notifications.module
Define the fields that are used for configuring notifications.

File

./oa_notifications.module, line 726

Code

function _oa_notification_show_skip($node) {
  if (arg(0) == 'node' && arg(2) == 'edit') {
    return TRUE;
  }
  else {
    return _oa_notifications_can_comment($node);
  }
}