summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-xeditgroups.cgi7
1 files changed, 1 insertions, 6 deletions
diff --git a/editgroups.cgi b/editgroups.cgi
index 87a31816d..a879aa770 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -357,13 +357,8 @@ if ($action eq 'remove_regexp') {
exit;
}
-
-#
# No valid action found
-#
-
-ThrowCodeError("action_unrecognized", $vars);
-
+ThrowUserError('unknown_action', {action => $action});
# Helper sub to handle the making of changes to a group
sub doGroupChanges {