mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
Replace database "update_" config entries with key-value entries
This commit is contained in:
parent
1ed67fba3d
commit
965caf98a5
2 changed files with 5 additions and 2 deletions
|
@ -42,7 +42,7 @@ class DBSync extends BaseAdmin
|
|||
switch ($action) {
|
||||
case 'mark':
|
||||
if ($update) {
|
||||
DI::config()->set('database', 'update_' . $update, 'success');
|
||||
DI::keyValue()->set('database_update_' . $update, 'success');
|
||||
$curr = DI::config()->get('system', 'build');
|
||||
if (intval($curr) == $update) {
|
||||
DI::config()->set('system', 'build', intval($curr) + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue