Move Config::get() to DI::config()->get()
This commit is contained in:
@@ -14,7 +14,7 @@ class DBUpdate
|
||||
public static function execute()
|
||||
{
|
||||
// Just in case the last update wasn't failed
|
||||
if (Config::get('system', 'update', Update::SUCCESS, true) != Update::FAILED) {
|
||||
if (DI::config()->get('system', 'update', Update::SUCCESS, true) != Update::FAILED) {
|
||||
Update::run(DI::app()->getBasePath());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user