[BUGFIX] Remove isLoaded('fluid') call from FLUIDTEMPLATE
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 20 Nov 2012 19:01:14 +0000 (20:01 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 20 Nov 2012 19:06:45 +0000 (20:06 +0100)
EXT:fluid is a required extension since TYPO3 6.0. The
isLoaded('fluid') call in FLUIDTEMPLATE content object
can be removed.

Change-Id: I514163bffc19fa264501dc2d88e1fe59f0e9a062
Fixes: #43172
Releases: 6.0
Reviewed-on: http://review.typo3.org/16633
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php

index 320876e..d8f1bb7 100644 (file)
@@ -62,10 +62,6 @@ class FluidTemplateContentObject extends \TYPO3\CMS\Frontend\ContentObject\Abstr
         * @author Bastian Waidelich <bastian@typo3.org>
         */
        public function render($conf = array()) {
-               // check if the needed extensions are installed
-               if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('fluid')) {
-                       return 'You need to install "Fluid" in order to use the FLUIDTEMPLATE content element';
-               }
                /** 1. initializing Fluid StandaloneView and setting configuration parameters */
                $view = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Fluid\\View\\StandaloneView');
                // Fetch the Fluid template