From 068be51fa0bdd13c3d9bfcdbd1921fa9a76cbf1f Mon Sep 17 00:00:00 2001 From: ethem Date: Mon, 19 Feb 2007 12:01:54 +0000 Subject: [PATCH] Removed unnecesary code. --- enrol/authorize/authorizenetlib.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/enrol/authorize/authorizenetlib.php b/enrol/authorize/authorizenetlib.php index 92b69e5435b..a5b036def10 100644 --- a/enrol/authorize/authorizenetlib.php +++ b/enrol/authorize/authorizenetlib.php @@ -140,11 +140,6 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $ } } - if ($action <= AN_ACTION_NONE or $action > AN_ACTION_VOID) { - $message = "Invalid action!"; - return AN_RETURNZERO; - } - $poststring = $conststring; $poststring .= '&x_method=' . $method;