Remove the Update page

[MAILPOET-3406]
This commit is contained in:
Pavel Dohnal
2021-02-08 10:21:00 +01:00
committed by Veljko V
parent dc1ba7ede4
commit 8698fd944f
4 changed files with 0 additions and 215 deletions

View File

@ -15,7 +15,6 @@ use MailPoet\AdminPages\Pages\Settings;
use MailPoet\AdminPages\Pages\Subscribers;
use MailPoet\AdminPages\Pages\SubscribersExport;
use MailPoet\AdminPages\Pages\SubscribersImport;
use MailPoet\AdminPages\Pages\Update;
use MailPoet\AdminPages\Pages\WelcomeWizard;
use MailPoet\AdminPages\Pages\WooCommerceSetup;
use MailPoet\DI\ContainerWrapper;
@ -350,19 +349,6 @@ class Menu {
]
);
// Update page
$this->wp->addSubmenuPage(
true,
$this->setPageTitle(__('Update', 'mailpoet')),
$this->wp->__('Update', 'mailpoet'),
AccessControl::PERMISSION_ACCESS_PLUGIN_ADMIN,
'mailpoet-update',
[
$this,
'update',
]
);
// Migration page
$this->wp->addSubmenuPage(
true,
@ -404,10 +390,6 @@ class Menu {
$this->container->get(WooCommerceSetup::class)->render();
}
public function update() {
$this->container->get(Update::class)->render();
}
public function premium() {
$this->container->get(Premium::class)->render();
}