diff --git a/enrol/authorize/authorizenetlib.php b/enrol/authorize/authorizenetlib.php index a5b036def1010..71fdcdc234d5b 100644 --- a/enrol/authorize/authorizenetlib.php +++ b/enrol/authorize/authorizenetlib.php @@ -358,8 +358,6 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $ } break; } - default: - return AN_RETURNZERO; } } else