]> git.mxchange.org Git - friendica.git/blobdiff - mod/regmod.php
Split goaway to System::externalRedirectTo() and App->internalRedirect()
[friendica.git] / mod / regmod.php
index d2fc4c0602b89082eff3d4a85e6a591eecaf5478..a7aebf6b0a4ebfd9bf8580653842b21e637f63cc 100644 (file)
@@ -101,11 +101,11 @@ function regmod_content(App $a)
 
        if ($cmd === 'deny') {
                user_deny($hash);
-               $a->redirect('admin/users/');
+               $a->internalRedirect('admin/users/');
        }
 
        if ($cmd === 'allow') {
                user_allow($hash);
-               $a->redirect('admin/users/');
+               $a->internalRedirect('admin/users/');
        }
 }