Move Config::load() to DI::config()->load()

This commit is contained in:
nupplaPhil 2020-01-19 21:20:10 +01:00
parent 1bc4b2e078
commit 5d294e8be8
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 3 additions and 15 deletions

View file

@ -90,7 +90,7 @@ class Update
$stored = intval($build);
$current = intval(DB_UPDATE_VERSION);
if ($stored < $current || $force) {
Config::load('database');
DI::config()->load('database');
Logger::info('Update starting.', ['from' => $stored, 'to' => $current]);