X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fregmod.php;h=6d76e7ea7eb7f8814d892283ace04fa144782aac;hb=a5e91175243a41c77a56e73efc3672f20a7e6d23;hp=3c860120882fd0d54f071f9e48b9fa92bec00174;hpb=74a0a927420bf42eb82fd737c9d306efc365dd01;p=friendica.git diff --git a/mod/regmod.php b/mod/regmod.php index 3c86012088..6d76e7ea7e 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -1,6 +1,10 @@ config['sitename'], - App::get_baseurl(), + System::baseUrl(), $user[0]['username'], $register[0]['password']); @@ -74,7 +78,7 @@ function user_deny($hash) { dbesc($hash) ); - if (!dbm::is_result($register)) { + if (!DBM::is_result($register)) { return false; } @@ -118,13 +122,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(); } }