Remove updatingSuccess message for old versions
[MAILPOET-3643]
This commit is contained in:
@ -179,7 +179,6 @@ class Populator {
|
|||||||
$this->scheduleUnsubscribeTokens();
|
$this->scheduleUnsubscribeTokens();
|
||||||
$this->scheduleSubscriberLinkTokens();
|
$this->scheduleSubscriberLinkTokens();
|
||||||
$this->detectReferral();
|
$this->detectReferral();
|
||||||
$this->updateFormsSuccessMessages();
|
|
||||||
$this->moveGoogleAnalyticsFromPremium();
|
$this->moveGoogleAnalyticsFromPremium();
|
||||||
$this->addPlacementStatusToForms();
|
$this->addPlacementStatusToForms();
|
||||||
$this->migrateFormPlacement();
|
$this->migrateFormPlacement();
|
||||||
@ -665,17 +664,6 @@ class Populator {
|
|||||||
$task->save();
|
$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() {
|
private function enableStatsNotificationsForAutomatedEmails() {
|
||||||
if (version_compare($this->settings->get('db_version', '3.31.2'), '3.31.1', '>')) {
|
if (version_compare($this->settings->get('db_version', '3.31.2'), '3.31.1', '>')) {
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user