]> git.mjollnir.org Git - moodle.git/commitdiff
Removed unnecesary code; Merged from MOODLE_18_STABLE.
authorethem <ethem>
Mon, 19 Feb 2007 12:11:15 +0000 (12:11 +0000)
committerethem <ethem>
Mon, 19 Feb 2007 12:11:15 +0000 (12:11 +0000)
enrol/authorize/authorizenetlib.php

index 92b69e5435b5d7aecd353b198eab61a64bb9df52..a5b036def10108f13a4a1eff6d5ea17f47f8c66b 100644 (file)
@@ -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;