mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Replace BaseObject class with DI::* calls
This commit is contained in:
parent
1de3f186d7
commit
388b963714
98 changed files with 321 additions and 440 deletions
|
@ -209,7 +209,7 @@ class Register extends BaseModule
|
|||
|
||||
$user = $result['user'];
|
||||
|
||||
$base_url = self::getClass(BaseURL::class)->get();
|
||||
$base_url = DI::baseUrl()->get();
|
||||
|
||||
if ($netpublish && intval(Config::get('config', 'register_policy')) !== self::APPROVE) {
|
||||
$url = $base_url . '/profile/' . $user['nickname'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue