Remove unused config variable

This commit is contained in:
Michael 2020-11-21 15:15:58 +00:00
parent 1de6251627
commit aec9f1ebf0
2 changed files with 0 additions and 4 deletions

View file

@ -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]);
}

View file

@ -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) . "<br />";
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) . "<br />";
}