Setting update version & time on success

This commit is contained in:
Philipp Holzer 2018-10-07 10:42:14 +02:00
parent 26aee23254
commit 4ae985e5ed
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
2 changed files with 4 additions and 2 deletions

View file

@ -47,7 +47,8 @@ class Update
Lock::release('dbupdate');
return;
} else {
Config::set('database', 'last_successful_update', time());
Config::set('database', 'last_successful_update', $current);
Config::set('database', 'last_successful_update_time', time());
}
// run the update_nnnn functions in update.php