diff options
author | 2010-05-20 17:38:16 +0200 | |
---|---|---|
committer | 2010-05-20 17:38:16 +0200 | |
commit | c558f9f5ab886ca1202ba7095803319361e06290 (patch) | |
tree | 4c3072f445b8d5fc3f55b4964b7470e5a8c00151 /editflagtypes.cgi | |
parent | Bug 487106: Add explanation when a whining is empty (diff) | |
download | bugzilla-c558f9f5ab886ca1202ba7095803319361e06290.tar.gz bugzilla-c558f9f5ab886ca1202ba7095803319361e06290.tar.bz2 bugzilla-c558f9f5ab886ca1202ba7095803319361e06290.zip |
Bug 565879: Merge ThrowCodeError("action_unrecognized"), ThrowUserError("no_valid_action") and ThrowCodeError("unknown_action")
r=ghendricks a=LpSolit
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-x | editflagtypes.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editflagtypes.cgi b/editflagtypes.cgi index d389c6db7..a0e64957b 100755 --- a/editflagtypes.cgi +++ b/editflagtypes.cgi @@ -86,7 +86,7 @@ elsif ($action eq 'confirmdelete') { confirmDelete(); } elsif ($action eq 'delete') { deleteType($token); } elsif ($action eq 'deactivate') { deactivate($token); } else { - ThrowCodeError("action_unrecognized", { action => $action }); + ThrowUserError('unknown_action', {action => $action}); } exit; |