From 55a8360776b4f875925c3ad4d710eb7c9264dae2 Mon Sep 17 00:00:00 2001 From: ethem <ethem> Date: Mon, 19 Feb 2007 12:11:15 +0000 Subject: [PATCH] Removed unnecesary code; Merged from MOODLE_18_STABLE. --- enrol/authorize/authorizenetlib.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/enrol/authorize/authorizenetlib.php b/enrol/authorize/authorizenetlib.php index 92b69e5435..a5b036def1 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; -- 2.39.5