mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +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
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config;
|
||||
|
||||
/*
|
||||
* require boot.php
|
||||
|
@ -23,7 +24,7 @@ require_once("include/dba.php");
|
|||
dba::connect($db_host, $db_user, $db_pass, $db_data, false);
|
||||
unset($db_host, $db_user, $db_pass, $db_data);
|
||||
|
||||
$build = get_config('system', 'build');
|
||||
$build = Config::get('system', 'build');
|
||||
|
||||
echo "Old DB VERSION: " . $build . "\n";
|
||||
echo "New DB VERSION: " . DB_UPDATE_VERSION . "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue