From c558f9f5ab886ca1202ba7095803319361e06290 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 20 May 2010 17:38:16 +0200 Subject: Bug 565879: Merge ThrowCodeError("action_unrecognized"), ThrowUserError("no_valid_action") and ThrowCodeError("unknown_action") r=ghendricks a=LpSolit --- editcomponents.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'editcomponents.cgi') 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}); -- cgit v1.2.3-24-g4f1b