diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-05-20 17:38:16 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-05-20 17:38:16 +0200 |
commit | c558f9f5ab886ca1202ba7095803319361e06290 (patch) | |
tree | 4c3072f445b8d5fc3f55b4964b7470e5a8c00151 /editgroups.cgi | |
parent | d6e7e1bd1c206b1b336f867ba6a51ed8c6e2fbb1 (diff) | |
download | bugzilla-c558f9f5ab886ca1202ba7095803319361e06290.tar.gz bugzilla-c558f9f5ab886ca1202ba7095803319361e06290.tar.xz |
Bug 565879: Merge ThrowCodeError("action_unrecognized"), ThrowUserError("no_valid_action") and ThrowCodeError("unknown_action")
r=ghendricks a=LpSolit
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-x | editgroups.cgi | 7 |
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 { |