Remove the Update page
[MAILPOET-3406]
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user