Remove old auth error notice displaying out of newsletters page

[MAILPOET-1987]
This commit is contained in:
Rostislav Wolny
2019-05-15 22:02:38 +02:00
committed by M. Shull
parent 3aa382a060
commit fb65f19085
2 changed files with 0 additions and 19 deletions

View File

@ -119,15 +119,4 @@ class ServicesChecker {
return false;
}
function isFromEmailAuthorized() {
$mta_log_error = $this->settings->get('mta_log.error', []);
if (isset($mta_log_error['operation']) && $mta_log_error['operation'] === MailerError::OPERATION_AUTHORIZATION) {
WPNotice::displayError($mta_log_error['error_message'], 'js-error-unauthorized-email', '', false, false);
return false;
}
return true;
}
}