Split goaway to System::externalRedirectTo() and App->internalRedirect()
This commit is contained in:
parent
2ef81108b3
commit
d00ddc01af
61 changed files with 286 additions and 266 deletions
|
@ -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/');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue