mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:10:24 +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
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\System;
|
||||
|
||||
if(! function_exists('home_init')) {
|
||||
|
@ -13,8 +14,8 @@ function home_init(App $a) {
|
|||
goaway(System::baseUrl()."/network");
|
||||
}
|
||||
|
||||
if (strlen(get_config('system','singleuser'))) {
|
||||
goaway(System::baseUrl()."/profile/" . get_config('system','singleuser'));
|
||||
if (strlen(Config::get('system','singleuser'))) {
|
||||
goaway(System::baseUrl()."/profile/" . Config::get('system','singleuser'));
|
||||
}
|
||||
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue