From 5fdb5c9d6f1437ae95ff1f3aa966c8581c15f6d1 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 18 Sep 2014 13:58:24 +0200 Subject: [PATCH] Some cleanup --- .../lib/acp/form/PaidSubscriptionAddForm.class.php | 6 +++--- .../lib/acp/form/PaidSubscriptionEditForm.class.php | 4 ++-- .../lib/acp/form/PaidSubscriptionUserAddForm.class.php | 10 +++++----- .../PaidSubscriptionTransactionLogListPage.class.php | 2 +- .../data/paid/subscription/PaidSubscription.class.php | 2 +- .../log/PaidSubscriptionTransactionLog.class.php | 2 +- .../user/PaidSubscriptionUserAction.class.php | 2 +- .../files/lib/page/PaidSubscriptionListPage.class.php | 2 +- .../lib/page/PaidSubscriptionReturnPage.class.php | 4 ++-- .../lib/system/cronjob/HourlyCleanUpCronjob.class.php | 2 +- .../option/PaymentMethodSelectOptionType.class.php | 2 +- .../system/package/PackageUpdateDispatcher.class.php | 1 - .../payment/method/PaypalPaymentMethod.class.php | 2 +- .../system/payment/type/AbstractPaymentType.class.php | 2 +- .../lib/system/payment/type/IPaymentType.class.php | 2 +- .../payment/type/PaidSubscriptionPaymentType.class.php | 2 +- 16 files changed, 23 insertions(+), 24 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/PaidSubscriptionAddForm.class.php b/wcfsetup/install/files/lib/acp/form/PaidSubscriptionAddForm.class.php index a48d7c590c..0295ad7f00 100644 --- a/wcfsetup/install/files/lib/acp/form/PaidSubscriptionAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PaidSubscriptionAddForm.class.php @@ -1,8 +1,9 @@ currency, $paymentMethod->getSupportedCurrencies())) continue; - $buttons[] = $paymentMethod->getPurchaseButton($this->cost, $this->currency, WCF::getLanguage()->get($this->title), $objectTypeID . ':' . WCF::getUser()->userID . ':' . $this->subscriptionID , LinkHandler::getInstance()->getLink('PaidSubscriptionReturn'), LinkHandler::getInstance()->getLink(), $this->isRecurring, $this->subscriptionLength, $this->subscriptionLengthUnit); + $buttons[] = $paymentMethod->getPurchaseButton($this->cost, $this->currency, WCF::getLanguage()->get($this->title), $objectTypeID . ':' . WCF::getUser()->userID . ':' . $this->subscriptionID, LinkHandler::getInstance()->getLink('PaidSubscriptionReturn'), LinkHandler::getInstance()->getLink(), $this->isRecurring, $this->subscriptionLength, $this->subscriptionLengthUnit); } return $buttons; diff --git a/wcfsetup/install/files/lib/data/paid/subscription/transaction/log/PaidSubscriptionTransactionLog.class.php b/wcfsetup/install/files/lib/data/paid/subscription/transaction/log/PaidSubscriptionTransactionLog.class.php index c9503b9f46..2f72294a5e 100644 --- a/wcfsetup/install/files/lib/data/paid/subscription/transaction/log/PaidSubscriptionTransactionLog.class.php +++ b/wcfsetup/install/files/lib/data/paid/subscription/transaction/log/PaidSubscriptionTransactionLog.class.php @@ -1,9 +1,9 @@ WCF::getLanguage()->get('wcf.paidSubscription.returnMessage') )); } -} \ No newline at end of file +} diff --git a/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php b/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php index 3848acce94..8835bd8ea3 100644 --- a/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/HourlyCleanUpCronjob.class.php @@ -1,8 +1,8 @@ '; } } -} \ No newline at end of file +} diff --git a/wcfsetup/install/files/lib/system/payment/type/AbstractPaymentType.class.php b/wcfsetup/install/files/lib/system/payment/type/AbstractPaymentType.class.php index 389f83a7a2..1428ddcd67 100644 --- a/wcfsetup/install/files/lib/system/payment/type/AbstractPaymentType.class.php +++ b/wcfsetup/install/files/lib/system/payment/type/AbstractPaymentType.class.php @@ -11,4 +11,4 @@ namespace wcf\system\payment\type; * @subpackage system.payment.type * @category Community Framework */ -abstract class AbstractPaymentType implements IPaymentType {} \ No newline at end of file +abstract class AbstractPaymentType implements IPaymentType {} diff --git a/wcfsetup/install/files/lib/system/payment/type/IPaymentType.class.php b/wcfsetup/install/files/lib/system/payment/type/IPaymentType.class.php index f5034f6757..9d894c4475 100644 --- a/wcfsetup/install/files/lib/system/payment/type/IPaymentType.class.php +++ b/wcfsetup/install/files/lib/system/payment/type/IPaymentType.class.php @@ -24,4 +24,4 @@ interface IPaymentType { * @param array $transactionDetails */ public function processTransaction($paymentMethodObjectTypeID, $token, $amount, $currency, $transactionID, $status, $transactionDetails); -} \ No newline at end of file +} diff --git a/wcfsetup/install/files/lib/system/payment/type/PaidSubscriptionPaymentType.class.php b/wcfsetup/install/files/lib/system/payment/type/PaidSubscriptionPaymentType.class.php index 2eb88ef3e1..f48fea916a 100644 --- a/wcfsetup/install/files/lib/system/payment/type/PaidSubscriptionPaymentType.class.php +++ b/wcfsetup/install/files/lib/system/payment/type/PaidSubscriptionPaymentType.class.php @@ -122,4 +122,4 @@ class PaidSubscriptionPaymentType extends AbstractPaymentType { throw $e; } } -} \ No newline at end of file +} -- 2.20.1