diff --git a/CRM/Core/Payment/Stripe.php b/CRM/Core/Payment/Stripe.php index 8a1d4ba14110c8323127702613b459c2d852bf31..d76b0137568f6c0f2e9de2c4e7954d60cb4bedce 100644 --- a/CRM/Core/Payment/Stripe.php +++ b/CRM/Core/Payment/Stripe.php @@ -369,20 +369,6 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment { return $publishableKey; } - /** - * Return the CiviCRM version we're running. - * - * @return string - * @throws \CiviCRM_API3_Exception - */ - public function get_civi_version() { - $version = (string) civicrm_api3('Domain', 'getvalue', array( - 'return' => "version", - 'current_domain' => true, - )); - return $version; - } - /** * Submit a payment using Stripe's PHP API: * https://stripe.com/docs/api?lang=php