Remove unused code

[MAILPOET-5832]
This commit is contained in:
Brezo Cordero
2024-01-19 17:09:51 -06:00
committed by Aschepikov
parent 4a0ed51c8c
commit b80f71f8c2

View File

@@ -11,10 +11,6 @@ use MailPoet\WP\Functions as WPFunctions;
use MailPoetVendor\Carbon\Carbon;
class AuthorizedSenderDomainController {
const DOMAIN_VERIFICATION_STATUS_VALID = 'valid';
const DOMAIN_VERIFICATION_STATUS_INVALID = 'invalid';
const DOMAIN_VERIFICATION_STATUS_PENDING = 'pending';
const OVERALL_STATUS_VERIFIED = 'verified';
const OVERALL_STATUS_PARTIALLY_VERIFIED = 'partially-verified';
const OVERALL_STATUS_UNVERIFIED = 'unverified';
@@ -87,11 +83,6 @@ class AuthorizedSenderDomainController {
return $this->returnAllDomains($this->getAllRecords());
}
public function getAllSenderDomainsIgnoringCache(): array {
$this->currentRecords = null;
return $this->getAllSenderDomains();
}
/**
* Get all Verified Sender Domains.
*