diff --git a/src/psm/Util/Updater/Status.class.php b/src/psm/Util/Updater/Status.class.php index 38cc671a..0b6b0c94 100755 --- a/src/psm/Util/Updater/Status.class.php +++ b/src/psm/Util/Updater/Status.class.php @@ -213,10 +213,6 @@ class Status { break; } - if(!$notify) { - return false; - } - // first add to log (we use the same text as the SMS message because its short..) if(psm_get_conf('log_status')) { psm_add_log( @@ -226,6 +222,10 @@ class Status { ); } + if(!$notify) { + return false; + } + // check if email is enabled for this server if(psm_get_conf('email_status') && $this->server['email'] == 'yes') { // send email