Fix code formatting
authorMatthias Schmidt <gravatronics@live.com>
Thu, 25 Dec 2014 10:15:41 +0000 (11:15 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 25 Dec 2014 10:15:41 +0000 (11:15 +0100)
wcfsetup/install/files/lib/data/paid/subscription/PaidSubscriptionAction.class.php

index 6c6be261bf52fa5859aed3ee0197c35d81491eb7..4edbf27660eec8a6b0623b64a7ff084a07cae1cb 100644 (file)
@@ -38,11 +38,11 @@ class PaidSubscriptionAction extends AbstractDatabaseObjectAction implements ITo
                        $showOrder = $this->parameters['data']['showOrder'];
                        unset($this->parameters['data']['showOrder']);
                }
-       
+               
                $subscription = parent::create();
                $editor = new PaidSubscriptionEditor($subscription);
                $editor->setShowOrder($showOrder);
-       
+               
                return new PaidSubscription($subscription->subscriptionID);
        }
        
@@ -51,7 +51,7 @@ class PaidSubscriptionAction extends AbstractDatabaseObjectAction implements ITo
         */
        public function update() {
                parent::update();
-       
+               
                if (count($this->objects) == 1 && isset($this->parameters['data']['showOrder']) && $this->parameters['data']['showOrder'] != reset($this->objects)->showOrder) {
                        reset($this->objects)->setShowOrder($this->parameters['data']['showOrder']);
                }