diff --git a/src/Core/Update.php b/src/Core/Update.php
index b2dc1a383a..1d8f88d012 100644
--- a/src/Core/Update.php
+++ b/src/Core/Update.php
@@ -154,8 +154,6 @@ class Update
DI::lock()->release('dbupdate');
return $retval;
} else {
- DI::config()->set('database', 'last_successful_update', $current);
- DI::config()->set('database', 'last_successful_update_time', time());
Logger::notice('Database structure update finished.', ['from' => $stored, 'to' => $current]);
}
diff --git a/src/Module/Admin/DBSync.php b/src/Module/Admin/DBSync.php
index 36f683e087..662fe08e27 100644
--- a/src/Module/Admin/DBSync.php
+++ b/src/Module/Admin/DBSync.php
@@ -57,8 +57,6 @@ class DBSync extends BaseAdmin
$retval = DBStructure::update($a->getBasePath(), false, true);
if ($retval === '') {
$o = DI::l10n()->t("Database structure update %s was successfully applied.", DB_UPDATE_VERSION) . "
";
- DI::config()->set('database', 'last_successful_update', DB_UPDATE_VERSION);
- DI::config()->set('database', 'last_successful_update_time', time());
} else {
$o = DI::l10n()->t("Executing of database structure update %s failed with error: %s", DB_UPDATE_VERSION, $retval) . "
";
}