diff --git a/lib/Config/Populator.php b/lib/Config/Populator.php index d5898312b0..0f3d74366b 100644 --- a/lib/Config/Populator.php +++ b/lib/Config/Populator.php @@ -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;