Extbase:
authorJochen Rau <j.rau@web.de>
Fri, 22 May 2009 10:21:16 +0000 (10:21 +0000)
committerJochen Rau <j.rau@web.de>
Fri, 22 May 2009 10:21:16 +0000 (10:21 +0000)
* Removed debug code
* Removed TODO comment (now issue on forge)

typo3/sysext/extbase/Classes/Dispatcher.php

index 22e8dd8..b59b50a 100644 (file)
@@ -40,8 +40,6 @@ class Tx_Extbase_Dispatcher {
         * @return string $content The processed content
         */
        public function dispatch($content, $configuration) {
-               
-               // debug($this->cObj);
                if (!is_array($configuration)) {
                        t3lib_div::sysLog('Extbase was not able to dispatch the request. No configuration.', 'extbase', t3lib_div::SYSLOG_SEVERITY_ERROR);
                        return $content;
@@ -70,7 +68,6 @@ class Tx_Extbase_Dispatcher {
                if (count($response->getAdditionalHeaderData()) > 0) {
                        $GLOBALS['TSFE']->additionalHeaderData[$request->getControllerExtensionName()] = implode("\n", $response->getAdditionalHeaderData());
                }
-               // TODO Handle $response->getStatus()
                $response->sendHeaders();
                return $response->getContent();
        }