]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/commands/web/class_WebShipsimuRefillCommand.php
Deprecated call removed
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebShipsimuRefillCommand.php
index 9bf663fc28c7c34aba933555f011be5ca209bbd3..4be725677057b3cb7d6a84dcb82783201ebcb3ea 100644 (file)
@@ -30,10 +30,6 @@ class WebShipsimuRefillCommand extends BaseCommand implements Commandable {
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Clean up a little
-               $this->removeNumberFormaters();
-               $this->removeSystemArray();
        }
 
        /**
@@ -68,7 +64,7 @@ class WebShipsimuRefillCommand extends BaseCommand implements Commandable {
                $templateInstance->assignVariable('refill_done', $requestInstance->getRequestElement('type'));
                $templateInstance->assignVariable('amount'     , $requestInstance->getRequestElement('amount'));
 
-               // This method does currently redirect if all goes right
+               // This method does currently redirect if all goes right. Booking is done in filters
                $responseInstance->redirectToConfiguredUrl('refill_page_done');
        }
 
@@ -104,7 +100,7 @@ class WebShipsimuRefillCommand extends BaseCommand implements Commandable {
                // Prepare a filter based on the requested type we shall refill
                $filterName = sprintf("refill_request_%s_%s_book_filter",
                        $requestInstance->getRequestElement('type'),
-                       $this->getConfigInstance()->readConfig($paymentTypeConfig)
+                       $this->getConfigInstance()->getConfigEntry($paymentTypeConfig)
                );
 
                // Now, try to load that filter