Commit 0bd975cf authored by Tim Rohaly's avatar Tim Rohaly
Browse files

Move variable_get shim out of uc_credit and into uc_authorizenet and...

Move variable_get shim out of uc_credit and into uc_authorizenet and uc_cybersource. Those two modules haven't been ported to D8 yet.
parent 1f6048b4
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -894,3 +894,13 @@ function _uc_authorizenet_login_data() {

  return $data;
}

/**
 * Temporary shim for removed variable_get().
 * @TODO: Remove!
 */
if (!function_exists('variable_get')) {
  function variable_get($name, $default = NULL) {
    return $default;
  }
}
+0 −10
Original line number Diff line number Diff line
@@ -588,13 +588,3 @@ function uc_credit_log_reference($order_id, $ref_id, $cc_number) {

  return $data;
}

/**
 * Temporary shim for removed variable_get().
 * @TODO: Remove!
 */
if (!function_exists('variable_get')) {
  function variable_get($name, $default = NULL) {
    return $default;
  }
}
+10 −0
Original line number Diff line number Diff line
@@ -1103,3 +1103,13 @@ function _uc_cybersource_soap_login_data() {

  return $data;
}

/**
 * Temporary shim for removed variable_get().
 * @TODO: Remove!
 */
if (!function_exists('variable_get')) {
  function variable_get($name, $default = NULL) {
    return $default;
  }
}