Replace the stopped sending notice
[MAILPOET-2643]
This commit is contained in:
@@ -554,10 +554,8 @@ class Menu {
|
||||
|
||||
public function checkMailPoetAPIKey(ServicesChecker $checker = null) {
|
||||
if (self::isOnMailPoetAdminPage()) {
|
||||
$showNotices = isset($_REQUEST['page'])
|
||||
&& stripos($_REQUEST['page'], self::MAIN_PAGE_SLUG) === false;
|
||||
$checker = $checker ?: $this->servicesChecker;
|
||||
$this->mpApiKeyValid = $checker->isMailPoetAPIKeyValid($showNotices);
|
||||
$this->mpApiKeyValid = $checker->isMailPoetAPIKeyValid();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user