summaryrefslogtreecommitdiffstats
path: root/editcomponents.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-05-20 17:38:16 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-05-20 17:38:16 +0200
commitc558f9f5ab886ca1202ba7095803319361e06290 (patch)
tree4c3072f445b8d5fc3f55b4964b7470e5a8c00151 /editcomponents.cgi
parentd6e7e1bd1c206b1b336f867ba6a51ed8c6e2fbb1 (diff)
downloadbugzilla-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 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 70afd9c9f..fd30daed4 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -252,7 +252,5 @@ if ($action eq 'update') {
exit;
}
-#
# No valid action found
-#
-ThrowUserError('no_valid_action', {'field' => "component"});
+ThrowUserError('unknown_action', {action => $action});