You are here

public function PayPalPaymentECPaymentMethodController::deleteAuthentication in PayPal for Payment 7

Deletes authentication information.

Parameters

integer $pid:

Return value

null

File

paypal_payment_ec/includes/PayPalPaymentECPaymentMethodController.inc, line 314

Class

PayPalPaymentECPaymentMethodController
A PayPal Express Checkout payment method.

Code

public function deleteAuthentication($pid) {
  db_delete('paypal_payment_ec_payment')
    ->condition('pid', $pid)
    ->execute();
}