Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed unnecesary code.

  • Loading branch information...
commit 7575a38529fee7d4dff34626dcca4fae70ef3ae8 1 parent ca57f3d
ethem authored

Showing 1 changed file with 0 additions and 5 deletions. Show diff stats Hide diff stats

  1. +0 5 enrol/authorize/authorizenetlib.php
5 enrol/authorize/authorizenetlib.php
@@ -140,11 +140,6 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $
140 140 }
141 141 }
142 142
143   - if ($action <= AN_ACTION_NONE or $action > AN_ACTION_VOID) {
144   - $message = "Invalid action!";
145   - return AN_RETURNZERO;
146   - }
147   -
148 143 $poststring = $conststring;
149 144 $poststring .= '&x_method=' . $method;
150 145

0 comments on commit 7575a38

Please sign in to comment.
Something went wrong with that request. Please try again.