mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
Move Config::get() to DI::config()->get()
This commit is contained in:
parent
5d294e8be8
commit
6c36fd9e01
126 changed files with 581 additions and 596 deletions
|
@ -25,7 +25,7 @@ class DBSync extends BaseAdminModule
|
|||
$update = intval($a->argv[3]);
|
||||
if ($update) {
|
||||
Config::set('database', 'update_' . $update, 'success');
|
||||
$curr = Config::get('system', 'build');
|
||||
$curr = DI::config()->get('system', 'build');
|
||||
if (intval($curr) == $update) {
|
||||
Config::set('system', 'build', intval($curr) + 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue