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 --- editvalues.cgi | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'editvalues.cgi') diff --git a/editvalues.cgi b/editvalues.cgi index a95385230..3f08a1671 100755 --- a/editvalues.cgi +++ b/editvalues.cgi @@ -193,10 +193,5 @@ if ($action eq 'update') { display_field_values($vars); } - -# # No valid action found -# -# We can't get here without $field being defined -- -# See the unless($field) block at the top. -ThrowUserError('no_valid_action', { field => $field } ); +ThrowUserError('unknown_action', {action => $action}); -- cgit v1.2.3-24-g4f1b