X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fregmod.php;h=a2c454f9a2c295b756d6fdc2423000bd778b26c9;hb=ab60641e3ba731aca42ab510bdf9c2411db6aab4;hp=28d45f5a607c081804f0c4eed8cb3db08449ec35;hpb=3c24bed412235cf8c7a3f16b46fed18004abf87b;p=friendica.git diff --git a/mod/regmod.php b/mod/regmod.php index 28d45f5a60..a2c454f9a2 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -40,7 +40,7 @@ function user_allow($hash) { intval($user[0]['uid']) ); if (dbm::is_result($r) && $r[0]['net-publish']) { - $url = App::get_baseurl() . '/profile/' . $user[0]['nickname']; + $url = System::baseUrl() . '/profile/' . $user[0]['nickname']; if ($url && strlen(get_config('system','directory'))) { proc_run(PRIORITY_LOW, "include/directory.php", $url); } @@ -51,7 +51,7 @@ function user_allow($hash) { send_register_open_eml( $user[0]['email'], $a->config['sitename'], - App::get_baseurl(), + System::baseUrl(), $user[0]['username'], $register[0]['password']); @@ -119,13 +119,13 @@ function regmod_content(App $a) { if ($cmd === 'deny') { user_deny($hash); - goaway(App::get_baseurl()."/admin/users/"); + goaway(System::baseUrl()."/admin/users/"); killme(); } if ($cmd === 'allow') { user_allow($hash); - goaway(App::get_baseurl()."/admin/users/"); + goaway(System::baseUrl()."/admin/users/"); killme(); } }