mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Remove unused config variable
This commit is contained in:
parent
1de6251627
commit
aec9f1ebf0
2 changed files with 0 additions and 4 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
|
@ -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 />";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue