From 9db65e750c111ab4ef30d2f7077431a4e81f8e67 Mon Sep 17 00:00:00 2001 From: mattbk Date: Fri, 23 Feb 2018 12:52:12 -0600 Subject: [PATCH] Revert "Add "Powered by Stripe"" This reverts commit 0e2671b975300cfbf34cac67e38f9807a13de6a1. --- images/solid-dark.svg | 7 ------- uc_stripe.module | 11 +---------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 images/solid-dark.svg diff --git a/images/solid-dark.svg b/images/solid-dark.svg deleted file mode 100644 index 77561bd..0000000 --- a/images/solid-dark.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/uc_stripe.module b/uc_stripe.module index 67c3122..92a41f9 100644 --- a/uc_stripe.module +++ b/uc_stripe.module @@ -150,15 +150,6 @@ function uc_stripe_form_uc_cart_checkout_form_alter(&$form, &$form_state) { '#weight' => -1000, ); - // Powered by Stripe (logo from https://stripe.com/about/resources) - if (variable_get('uc_stripe_poweredby', FALSE)) { - $payment_form['field_message'] = array( - '#type' => 'item', - '#markup' => "Powered by Stripe", - '#weight' => 1, - ); - } - $payment_form['stripe_token'] = array( '#type' => 'hidden', '#default_value' => 'default', @@ -319,7 +310,7 @@ function uc_stripe_settings_form() { $form['uc_stripe_settings']['uc_stripe_poweredby'] = array( '#type' => 'checkbox', '#title' => t('Powered by Stripe'), - '#description' => 'Show "powered by Stripe" in checkout.', + '#description' => 'Show "powered by Stripe" in shopping cart.', '#default_value' => variable_get('uc_stripe_poweredby', FALSE), );