From a7feee3c48c9da7ad924d24e7d5a5ca2428834af Mon Sep 17 00:00:00 2001 From: David Remer Date: Mon, 16 Dec 2024 16:43:35 +0200 Subject: [PATCH] Remove old deactivation method [MAILPOET-6389] --- mailpoet/mailpoet.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mailpoet/mailpoet.php b/mailpoet/mailpoet.php index 3bbb6da905..bab046d3b1 100644 --- a/mailpoet/mailpoet.php +++ b/mailpoet/mailpoet.php @@ -30,12 +30,6 @@ $mailpoetPlugin = [ const MAILPOET_MINIMUM_REQUIRED_WP_VERSION = '6.6'; const MAILPOET_MINIMUM_REQUIRED_WOOCOMMERCE_VERSION = '9.3'; -function mailpoet_deactivate_plugin() { - deactivate_plugins(plugin_basename(__FILE__)); - if (!empty($_GET['activate'])) { - unset($_GET['activate']); - } -} // Display WP version error notice function mailpoet_wp_version_notice() {