Browse Source

Removed deprecated var emailnotification

This variable is no longer needed.
pull/954/head
Marvin Lehmann 9 years ago
parent
commit
0f6d991c8e
  1. 4
      lgsm/functions/alert.sh

4
lgsm/functions/alert.sh

@ -41,9 +41,9 @@ elif [ "${alert}" == "test" ]; then
fn_alert_test
fi
if [ "${emailnotification}" == "on" ]||[ "${emailalert}" == "on" ]&&[ -n "${email}" ]; then
if [ "${emailalert}" == "on" ]&&[ -n "${email}" ]; then
alert_email.sh
elif [ "${emailnotification}" != "on" ]||[ "${emailalert}" != "on" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
elif [ "${emailalert}" != "on" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
fn_print_warn_nl "Email alerts not enabled"
fn_script_log_warn "Email alerts not enabled"
elif [ -z "${email}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then

Loading…
Cancel
Save