From: ethem Date: Mon, 19 Feb 2007 12:11:15 +0000 (+0000) Subject: Removed unnecesary code; Merged from MOODLE_18_STABLE. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=55a8360776b4f875925c3ad4d710eb7c9264dae2;p=moodle.git Removed unnecesary code; Merged from MOODLE_18_STABLE. --- 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;