]> git.mxchange.org Git - friendica.git/blobdiff - mod/regmod.php
Merge pull request #6225 from annando/http-error
[friendica.git] / mod / regmod.php
index 3f6f0e04e3253e6073f686548e16450b3374d225..a7aebf6b0a4ebfd9bf8580653842b21e637f63cc 100644 (file)
@@ -101,11 +101,11 @@ function regmod_content(App $a)
 
        if ($cmd === 'deny') {
                user_deny($hash);
-               goaway('admin/users/');
+               $a->internalRedirect('admin/users/');
        }
 
        if ($cmd === 'allow') {
                user_allow($hash);
-               goaway('admin/users/');
+               $a->internalRedirect('admin/users/');
        }
 }