getResponseTypeFromSystem() is now static.
[shipsimu.git] / application / selector / class_ApplicationHelper.php
index 7000c380a5bd5cac3af4f0413638cf3f3eed938c..4f455f340f2795fa268535f6a42b6f7da533cc01 100644 (file)
@@ -153,8 +153,8 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                Registry::getRegistry()->addInstance('app', $this);
 
                // Default response is console
-               $response = $this->getResponseTypeFromSystem();
-               $responseType = $this->getResponseTypeFromSystem();
+               $response = self::getResponseTypeFromSystem();
+               $responseType = self::getResponseTypeFromSystem();
 
                // Create a new request object
                $requestInstance = ObjectFactory::createObjectByName($this->convertToClassName($response) . 'Request');