Remove updatingSuccess message for old versions

[MAILPOET-3643]
This commit is contained in:
Jan Lysý
2021-06-01 18:35:59 +02:00
committed by Veljko V
parent 4d5630b1ca
commit 30d42972ff

View File

@ -179,7 +179,6 @@ class Populator {
$this->scheduleUnsubscribeTokens();
$this->scheduleSubscriberLinkTokens();
$this->detectReferral();
$this->updateFormsSuccessMessages();
$this->moveGoogleAnalyticsFromPremium();
$this->addPlacementStatusToForms();
$this->migrateFormPlacement();
@ -665,17 +664,6 @@ class Populator {
$task->save();
}
/**
* Remove this comment when this private function is actually used
* @phpcsSuppress SlevomatCodingStandard.Classes.UnusedPrivateElements
*/
private function updateFormsSuccessMessages() {
if (version_compare($this->settings->get('db_version', '3.23.2'), '3.23.1', '>')) {
return;
}
$this->settings->updateSuccessMessages();
}
private function enableStatsNotificationsForAutomatedEmails() {
if (version_compare($this->settings->get('db_version', '3.31.2'), '3.31.1', '>')) {
return;