Autofix number of newlines between methods
[MAILPOET-2715]
This commit is contained in:
committed by
Jack Kitterhing
parent
73963bd37a
commit
b39dac75d6
@@ -59,5 +59,4 @@ class DeactivationSurvey {
|
||||
// if the website fails to render we have other places to catch and display the error
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -33,5 +33,4 @@ class DeferredAdminNotices {
|
||||
WPFunctions::get()->deleteOption(DeferredAdminNotices::OPTIONS_KEY_NAME);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -44,7 +44,6 @@ class MP2Migrator {
|
||||
private $mp2UserTable;
|
||||
private $mp2UserListTable;
|
||||
|
||||
|
||||
public function __construct(SettingsController $settings, Activator $activator) {
|
||||
$this->defineMP2Tables();
|
||||
$logFilename = 'mp2migration.log';
|
||||
|
@@ -6,7 +6,6 @@ use MailPoet\Subscribers\SubscriberPersonalDataEraser;
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
|
||||
class PersonalDataErasers {
|
||||
|
||||
public function init() {
|
||||
WPFunctions::get()->addFilter('wp_privacy_personal_data_erasers', [$this, 'registerSubscriberEraser']);
|
||||
}
|
||||
@@ -19,5 +18,4 @@ class PersonalDataErasers {
|
||||
|
||||
return $erasers;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -9,7 +9,6 @@ use MailPoet\Subscribers\ImportExport\PersonalDataExporters\SubscriberExporter;
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
|
||||
class PersonalDataExporters {
|
||||
|
||||
public function init() {
|
||||
WPFunctions::get()->addFilter('wp_privacy_personal_data_exporters', [$this, 'registerSubscriberExporter']);
|
||||
WPFunctions::get()->addFilter('wp_privacy_personal_data_exporters', [$this, 'registerSegmentsExporter']);
|
||||
@@ -48,5 +47,4 @@ class PersonalDataExporters {
|
||||
];
|
||||
return $exporters;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -7,7 +7,6 @@ use MailPoet\WooCommerce\Helper as WooCommerceHelper;
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
|
||||
class PrivacyPolicy {
|
||||
|
||||
public function init() {
|
||||
if (function_exists('wp_add_privacy_policy_content')) {
|
||||
wp_add_privacy_policy_content(__('MailPoet', 'mailpoet'), $this->getPrivacyPolicyContent());
|
||||
@@ -66,5 +65,4 @@ class PrivacyPolicy {
|
||||
}
|
||||
return $content;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user