[TASK] Remove unused option cObj->INT_include 93/46593/2
authorBenni Mack <benni@typo3.org>
Thu, 11 Feb 2016 14:23:28 +0000 (15:23 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 11 Feb 2016 14:32:59 +0000 (15:32 +0100)
An option within ContentObjectRenderer was unused
even before TYPO3 4.5, and is not in use in any TER
extension. This piece of code can safely be removed
without breaking anything.

Resolves: #73242
Releases: master
Change-Id: If86d1306bad6acaeaa3f76c5300d1248e2fcdb4b
Reviewed-on: https://review.typo3.org/46593
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php

index 98bdea5..e367957 100644 (file)
@@ -446,13 +446,6 @@ class ContentObjectRenderer
     public $parentRecord = array();
 
     /**
-     * Is set to 1 if the instance of this cObj is executed from a *_INT plugin (see pagegen, bottom of document)
-     *
-     * @var bool
-     */
-    public $INT_include = 0;
-
-    /**
      * This is used by checkPid, that checks if pages are accessible. The $checkPid_cache['page_uid'] is set TRUE or FALSE upon this check featuring a caching function for the next request.
      *
      * @var array
index 7880d77..ed30485 100644 (file)
@@ -3400,7 +3400,6 @@ class TypoScriptFrontendController
                     $incContent = '';
                     $INTiS_cObj = unserialize($INTiS_config[$INTiS_key]['cObj']);
                     /* @var $INTiS_cObj ContentObjectRenderer */
-                    $INTiS_cObj->INT_include = 1;
                     switch ($INTiS_config[$INTiS_key]['type']) {
                         case 'COA':
                             $incContent = $INTiS_cObj->cObjGetSingle('COA', $INTiS_config[$INTiS_key]['conf']);