Remove old auth error notice displaying out of newsletters page
[MAILPOET-1987]
This commit is contained in:
committed by
M. Shull
parent
3aa382a060
commit
fb65f19085
@ -89,7 +89,6 @@ class Menu {
|
||||
$this->subscribers_over_limit = $subscribers_feature->check();
|
||||
$this->checkMailPoetAPIKey();
|
||||
$this->checkPremiumKey();
|
||||
$this->checkFromEmailAuthorization();
|
||||
|
||||
$this->wp->addAction(
|
||||
'admin_menu',
|
||||
@ -910,13 +909,6 @@ class Menu {
|
||||
$this->premium_key_valid = $checker->isPremiumKeyValid($show_notices);
|
||||
}
|
||||
|
||||
private function checkFromEmailAuthorization() {
|
||||
if (self::isOnMailPoetAdminPage() && stripos($_REQUEST['page'], self::MAIN_PAGE_SLUG) === false) {
|
||||
$checker = $this->servicesChecker;
|
||||
$checker->isFromEmailAuthorized();
|
||||
}
|
||||
}
|
||||
|
||||
function getLimitPerPage($model = null) {
|
||||
if ($model === null) {
|
||||
return Listing\Handler::DEFAULT_LIMIT_PER_PAGE;
|
||||
|
Reference in New Issue
Block a user