Deleting a grouping now returns you to the user group page.
This commit is contained in:
parent
13fcbe2ffc
commit
21a685c0a6
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ sub www_deleteGrouping {
|
||||||
if (WebGUI::Privilege::isInGroup(3)) {
|
if (WebGUI::Privilege::isInGroup(3)) {
|
||||||
$u = WebGUI::User->new($session{form}{uid});
|
$u = WebGUI::User->new($session{form}{uid});
|
||||||
$u->deleteFromGroups([$session{form}{gid}]);
|
$u->deleteFromGroups([$session{form}{gid}]);
|
||||||
return www_editUser();
|
return www_editUserGroup();
|
||||||
} else {
|
} else {
|
||||||
return WebGUI::Privilege::adminOnly();
|
return WebGUI::Privilege::adminOnly();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue