Remove the "Start upgrade" button when the upgrade is completed

Add the "Upgrade completed" message
Add the "Go to MailPoet" button
This commit is contained in:
fred
2017-05-24 12:16:28 +02:00
parent c64959dce0
commit 2bb7d95e37
4 changed files with 24 additions and 13 deletions

View File

@@ -145,6 +145,7 @@ class MP2Migrator {
Setting::setValue('mailpoet_migration_complete', true);
$this->log("IMPORT COMPLETE");
$this->log(sprintf('=== ' . __('END IMPORT', 'mailpoet') . ' %s ===', $datetime->formatTime(time(), \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT)));
$result = ob_get_contents();
ob_clean();