mirror of
https://github.com/friendica/friendica
synced 2025-04-23 08:30:10 +00:00
Issue-#3873
Replace deprecated functions with new syntax.
This commit is contained in:
parent
9eb1f4b9c3
commit
0dfa57948f
124 changed files with 819 additions and 679 deletions
|
@ -1781,9 +1781,9 @@ function dbstructure_run(&$argv, &$argc) {
|
|||
case "update":
|
||||
update_structure(true, true);
|
||||
|
||||
$build = get_config('system','build');
|
||||
$build = Config::get('system','build');
|
||||
if (!x($build)) {
|
||||
set_config('system', 'build', DB_UPDATE_VERSION);
|
||||
Config::set('system', 'build', DB_UPDATE_VERSION);
|
||||
$build = DB_UPDATE_VERSION;
|
||||
}
|
||||
|
||||
|
@ -1798,7 +1798,7 @@ function dbstructure_run(&$argv, &$argc) {
|
|||
}
|
||||
}
|
||||
|
||||
set_config('system','build',DB_UPDATE_VERSION);
|
||||
Config::set('system','build',DB_UPDATE_VERSION);
|
||||
return;
|
||||
case "dumpsql":
|
||||
print_structure(db_definition());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue